cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
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));