ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: snagaval on January 05, 2015, 10:06:31 pm

Title: maximize event
Post by: snagaval on January 05, 2015, 10:06:31 pm
Hello:

The maximize icon is a very nice feature to have. Our grid is fairly complex and on larger monitors, it takes a noticeable amount of time, before the maximize / normalize happens.  There is enough of a time lag that the users think it is frozen; we would like to 1) trap the click maximize icon event 2) display some message ("please wait"), 3) trap a "complete resize" event 3) display the grid after the re-sizing is done.

Any ideas?

Thanks,
Title: Re: maximize event
Post by: paramvir on January 05, 2015, 11:39:15 pm
you could bind click event with $(".ui-icon-arrow-4-diag") to display the message and toggle event http://paramquery.com/pro/api#event-toggle to hide the message.

Also showLoading and hideLoading methods could be used to display / hide message.

and strLoading option to customize the message.