cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
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));