cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

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

LogitTurtle576
Level III

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