BookmarkSubscribeSubscribe to RSS Feed
saitcopuroglu

Community Trekker

Joined:

Sep 29, 2014

JSL: Setting lables for each row independent of how many rows the data table consist

May I have help please about what script to write to a data table for labeling all the rows independant of how many rows the data table consist.

Many thanks

8660_Screen Shot 2015-04-26 at 15.30.31.png

1 ACCEPTED SOLUTION

Accepted Solutions
ms

Super User

Joined:

Jun 23, 2011

Solution

Re: JSL: Setting lables for each row independent of how many rows the data table consist

Here are two ways to do it:

dt = Current Data Table();

// Toggle between labeled/unlabeled states for selected rows.

dt << Select all rows << Label << Clear Select();

// Or explicitly set each row to labeled state

For Each Row(Row State(dt, Row()) = Labeled State(1));

1 REPLY
ms

Super User

Joined:

Jun 23, 2011

Solution

Re: JSL: Setting lables for each row independent of how many rows the data table consist

Here are two ways to do it:

dt = Current Data Table();

// Toggle between labeled/unlabeled states for selected rows.

dt << Select all rows << Label << Clear Select();

// Or explicitly set each row to labeled state

For Each Row(Row State(dt, Row()) = Labeled State(1));