cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
jthi
Super User

Filter Change Handler triggering even when no filter is changed

Just noticed that Filter Change Handler is triggering when just on hovering over graph and returning value -1. Simple example script here, run it, check log and hover over markers in the graph

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


nw = new window("",
	Data Filter Context Box(
		H List Box(
			lf = dt << Data Filter(
				Local,
				Mode(Include(1)),
				Conditional,
				Add Filter(columns(:Wafer Number), Display(:Wafer Number, N Items(15)))
			),
			gb = dt << Graph Builder(
				Size(534, 456),
				Show Control Panel(0),
				Variables(X(:R_RSICR_100X20), Y(:R_RPPBR_4X15)),
				Elements(Points(X, Y, Legend(3)))
			);			
		)
	)	
);

f = Function({a}, 
	Print(a)
);

rs = lf << Make Filter Change Handler(f);

gb << On Close(
	Try(Close(dt, no save));
	rs = .;
)

Also when filter is changed it seems to trigger twice (but I would say this is to be expected with JMP).

Using JMP16.2 Pro and Windows 10.

-Jarmo
1 ACCEPTED SOLUTION

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: Filter Change Handler triggering even when no filter is changed

2 REPLIES 2
David_Burnham
Super User (Alumni)

Re: Filter Change Handler triggering even when no filter is changed

I have a post about this - I'll dig it out

-Dave
David_Burnham
Super User (Alumni)

Re: Filter Change Handler triggering even when no filter is changed

Recommended Articles