cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
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