cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

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

How to minimize a floating global filter window

Hey everyone,

I am having an issue trying to find a way to minimize a floating global data filter window.  I have tried <<show window(0) and <<minimize window(1) and neither seem to work.

 

Any ideas on what syntax to use?

 

Thanks for any input!

 

Steve

1 ACCEPTED SOLUTION

Accepted Solutions
mmarchandTSI
Level V

Re: How to minimize a floating global filter window

You can do it this way.

 

Current Data Table() << Data Filter(
	Location( {780, 189} ),
	Conditional,
	Add Filter(
		columns( :Date Time Quarter, :Date Time Period, :Date Time ),
		Display( :Date Time Quarter, N Items( 5 ) ),
		Display( :Date Time Period, N Items( 5 ) )
	),
	Show Window( 0 )
)

View solution in original post

5 REPLIES 5
jthi
Super User

Re: How to minimize a floating global filter window

Show Window(0) works for me

Names Default To Here(1); 

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

wait(1);

windows = Get Window List() << get window title;
For Each({window}, windows,
	If(Starts With(window, "Data Filter for"),
		Window(window) << Show Window(0);
		break();
	);
);
-Jarmo
shampton82
Level VII

Re: How to minimize a floating global filter window

@jthi So weird!  I'm using this script in a work flow:

Current Data Table() << Data Filter(
	Location( {780, 189} ),
	Conditional,
	Add Filter(
		columns( :Date Time Quarter, :Date Time Period, :Date Time ),
		Display( :Date Time Quarter, N Items( 5 ) ),
		Display( :Date Time Period, N Items( 5 ) )
	)
)<<show window(0);

This creates the filter but won't hide it.

jthi
Super User

Re: How to minimize a floating global filter window

Maybe you just need extra pair of brackets

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");
(dt << Data Filter()) << Show Window(0);

or if you want to get a reference something like this

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");
Local({filter_ref},
	filter_ref = dt << Data Filter();
	filter_ref << Show Window(0);
);
-Jarmo
shampton82
Level VII

Re: How to minimize a floating global filter window

Hey @jthi , I don't know why but the top method did not work when I tired it in my script but it works just fine when I run the provide script on its own.  I haven't had a chance to try out the second method in my script but I'll give an update when I can.  For some reason the proposed solution by @mmarchandTSI worked......

mmarchandTSI
Level V

Re: How to minimize a floating global filter window

You can do it this way.

 

Current Data Table() << Data Filter(
	Location( {780, 189} ),
	Conditional,
	Add Filter(
		columns( :Date Time Quarter, :Date Time Period, :Date Time ),
		Display( :Date Time Quarter, N Items( 5 ) ),
		Display( :Date Time Period, N Items( 5 ) )
	),
	Show Window( 0 )
)

Recommended Articles