Author Topic: maximize event  (Read 2925 times)

snagaval

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 4
    • View Profile
maximize event
« 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,

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: maximize event
« Reply #1 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.