BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Thomas1

Community Trekker

Joined:

Feb 16, 2018

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
uday_guntupalli

Community Trekker

Joined:

Sep 15, 2014

Re: JSL to select a column for a formla script

@Thomas1,
      Please look at Column Dialog() 

Best
Uday
Thomas1

Community Trekker

Joined:

Feb 16, 2018

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.

uday_guntupalli

Community Trekker

Joined:

Sep 15, 2014

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