ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: hyh888 on November 19, 2021, 08:28:22 am

Title: How hide maximize button
Post by: hyh888 on November 19, 2021, 08:28:22 am
I hope to hide maximize and minimize button and put the title("shipping orders") before the "toggle filter fow" button to save space in interface,is it possible?
Title: Re: How hide maximize button
Post by: paramvir on November 19, 2021, 10:45:28 am
Please set showTitle: false and collapsible: {on: false, toggle: false} in the grid options

and prepend following item to the toolbar.

Code: [Select]
{ type: '<span>Shipping orders</span>'},
Title: Re: How hide maximize button
Post by: hyh888 on November 19, 2021, 11:02:27 am
It works, thank you very much.
Title: Re: How hide maximize button
Post by: hyh888 on November 29, 2021, 08:01:39 am
Would you kindly set collapsible: {on: false, toggle: false} in the grid options as default? Usually, in business there is no need to set them true.
Title: Re: How hide maximize button
Post by: paramvir on November 29, 2021, 10:50:37 am
Default options can be changed for all grid instances in this way:

https://paramquery.com/pro/tutorial#topic-defaults
Title: Re: How hide maximize button
Post by: hyh888 on December 01, 2021, 08:23:16 am
Thank you very much.