Subscribe Bookmark RSS Feed

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

saitcopuroglu

Community Trekker

Joined:

Sep 29, 2014

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
Solution

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
Solution

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));