cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
LogitTurtle576
Level III

How to select a group and delete the columns via JSL ?

Hi,

 

I am looking for a way in JSL to select an existing group of columns and then delete the columns in this group.

Sorry for asking but I am still a beginner in scripting.

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to select a group and delete the columns via JSL ?

There are many ways to do this.

  1. Use << Get Column Group(<groupname>) to get list of the columns in the group
  2. Use << Delete Columns() with the list to remove columns from data table

Scripting index should be able to provide quite good examples for both of the functions

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: How to select a group and delete the columns via JSL ?

There are many ways to do this.

  1. Use << Get Column Group(<groupname>) to get list of the columns in the group
  2. Use << Delete Columns() with the list to remove columns from data table

Scripting index should be able to provide quite good examples for both of the functions

-Jarmo
LogitTurtle576
Level III

Re: How to select a group and delete the columns via JSL ?

Thanks @jthi for your quick reply