cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
ComplexNerd
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

Recommended Articles