ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: kkhanal on April 07, 2017, 10:41:15 pm

Title: Default Maximize
Post by: kkhanal on April 07, 2017, 10:41:15 pm
Hi,

The maximize button is quite handy for manually maximizing the grid. However, is there a way to maximize the grid by default during the startup?

Regards,
KK

Title: Re: Default Maximize
Post by: paramvir on April 11, 2017, 09:20:50 am
There is no inbuilt method in the API but this can be used to maximize the grid just after creation.

Code: [Select]
//use create or complete event.
create: function(){
this.widget().find(".pq-grid-top .ui-icon-arrow-4-diag").click();
}
Title: Re: Default Maximize
Post by: kkhanal on April 12, 2017, 10:22:53 pm
I tried your suggestion and it worked. Thanks a lot.