Choose Language Hide Translation Bar
Highlighted
Thomas1
Community Trekker

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?

0 Kudos
3 REPLIES 3
uday_guntupalli
Community Trekker

Re: JSL to select a column for a formla script

@Thomas1,
      Please look at Column Dialog() 

Best
Uday
0 Kudos
Thomas1
Community Trekker

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.

0 Kudos
uday_guntupalli
Community Trekker

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
0 Kudos