cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
] />

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
jevanove
Level III

Remove "None Selected" Option from Local Data Filter

I have dug around the community, scripting index, etc to see if there is an answer to this but I haven't found anything. I have a local data filter being used to change which parameter is shown on a chart. The local data filter is set to radio button mode so only one selection can be made at a time. I would like to remove the option of "None Selected" from the data filter because this option will force the chart to show averaged data for all the parameters. The user has no need to see the data this way, as it is not represantative of any specific parameter, and I would prefer to not give the option at all. Is there any way to do this? I fear the answer is that there is no way, based on what I have found through searching around, but I want to double check if there is something I am missing.

1 REPLY 1
jthi
Super User

Re: Remove "None Selected" Option from Local Data Filter

I don't think you can easily hide that (or at all). What I have usually done is that I use List as display type and prevent user from selecting more than one option.

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

dist = dt << Distribution(
	Continuous Distribution(Column(:height), Process Capability(0)),
	Local Data Filter(
		Add Filter(columns(:age), Display(:age, N Items(6), "List Display"))
	)
);

filterob = (Report(dist) << Top Parent)[OutlineBox("Local Data Filter")];
filterob[ListBoxBox(1)] << Set Max Selected(1);

This might not be same for other versions than JMP19 as JMP19 did mess with the data filter display box structure.

-Jarmo

Recommended Articles