cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Have your say in shaping JMP's future by participating in the new JMP Wish List Prioritization Survey
Choose Language Hide Translation Bar
Aadit
Level III

Change Filter Col Selecter Application Builder with datatable

Hello guys..

 

I am working on application builder., In the interface i have a col Filter box for with now when application opens it prompts to select datatable. Now i have a list box in which it display all the open datatables, when users selects a datatable and clicks the button i want the columns in col filter box to change accordingly. I tried set datatable, and also equating the underlying datatable1 to the selected one. It dosent work. Can i please get some guidelines how to perform this.

 

Thanks in advance

1 REPLY 1
jthi
Super User

Re: Change Filter Col Selecter Application Builder with datatable

I think generally you will have to re-create the filter col selector if you want to change the data table which it is related to. I don't use Application Builder so here is example how it could look like (in very simple case) as JMP script

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("Filter Col Selector Example",
	fcs_collector = V List Box(
		vlb = V List Box(
			fcs = Filter Col Selector(dt)
		)
	)
);

wait(1);

dt2 = Open("$SAMPLE_DATA/Probe.jmp");
vlb << Delete Box;
fcs_collector << Append(vlb = V List Box(
	fcs = Filter Col Selector(dt2)
));
-Jarmo