Author Topic: Trying to set .on('pqGrid:refresh' doesn't work.  (Read 2080 times)

qbcsystemsinc

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 3
    • View Profile
Trying to set .on('pqGrid:refresh' doesn't work.
« on: January 26, 2016, 12:00:11 am »
I created a grid, and after instantiating it, did the following:

$('.selector').on('pqGrid:refresh',function(evt,ui){console.log(evt);});

Things that should trigger the grid refresh do not log an event in the console.

If I do the initial creation of the grid with:

...
refresh: function(evt,ui) {console.log(evt);}
...

then it displays as normal.

I'm using pqGrid v 3.2.0

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Trying to set .on('pqGrid:refresh' doesn't work.
« Reply #1 on: January 26, 2016, 10:04:50 am »