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
Thomas1
Level V

JSL to select a column for a formula script

What JSL code must be added to the formula code:

 

New Column („Missing“, Numeric, Nominal, Formula (Is Missing : Name("Column 1")))

to get an dialog with which it is possible to select all columns of a data table?

3 REPLIES 3
Highlighted
uday_guntupalli
Level VIII

Re: JSL to select a column for a formla script

@Thomas1,
      Please look at Column Dialog() 

Best
Uday
Highlighted
Thomas1
Level V

Re: JSL to select a column for a formla script

Thanks for your hint Uday.

Now I'm able to start the dialog and to select a column. However I can't pass the selected column properly to the formula, in order to create the new column with the formula being applied.

Highlighted
uday_guntupalli
Level VIII

Re: JSL to select a column for a formla script

@Thomas1,
       You can use the dialog() function to further offer customization. However, if it is not required that the user needs to make a selection, that would be much easier. I would use the examples in Scripting Index for Dialog(), I personally haven't used it much so cannot provide a ready example 

Best
Uday
Article Labels

    There are no labels assigned to this post.