Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
lukasz
Level III

How to clear selection in a data table?

Hello Everybody,

I am creating some subset of a bigger table and then from that subset I create stacked bar chart. The problem is, that after opening the original table there is always something selected which has an influence on the creating of a data subset. The resulting subset contains only column selected in the original table. I used dt << clear select; after opening the original data table but it does not bring the desired effect. Additional command dt << Current Data table before clearing selection does not help.

If am deselecting cells/columns per hand it works but then after creating a subset and adding new columns to that subset, those columns are selected and that disturbs creating chart. The deselection command did not seem to work in this case as well. I would appreciate for hints how to clear selection in a data table. It seems to be easy but am I missing something? Or maybe selection of a whole table would help?

Best regards.

2 REPLIES 2
Highlighted
txnelson
Super User

Re: How to clear selection in a data table?

use:

dt << clear select;
dt << clear column selection;
Jim
Highlighted
lukasz
Level III

Re: How to clear selection in a data table?

Hello Jim, thank you, that worked and of course I found that in scripting index as well