cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar
saitcopuroglu
Level IV

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 (Alumni) ms
Super User (Alumni)

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

View solution in original post

1 REPLY 1
ms
Super User (Alumni) ms
Super User (Alumni)

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