Author Topic: pqgridbeforetableview event  (Read 3019 times)

jomeihua

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 7
    • View Profile
pqgridbeforetableview event
« on: January 17, 2014, 06:41:52 am »

This code in free version is ok
But not working in pro version

Is there any different in object definition?

var $grid = $("#grid_infinite").on("pqgridbeforetableview", function (evt, ui) {
           var curPos = ui.curPos;
           var finalPos = ui.finalPos;
           var data = ui.data;
           remoteData(curPos, finalPos, data); 
   
       });

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: pqgridbeforetableview event
« Reply #1 on: January 17, 2014, 08:15:47 am »
Please refer to API for beforeTableView. the ui arguments are renamed.

http://paramquery.com/pro/api#event-beforeTableView

Code: [Select]
            var curPos = ui.initV;
            var finalPos = ui.finalV;
            var data = ui.pageData;