[ 1 post ]

david bettenhausen

  • Username: dbhausen
  • Joined: Thu Apr 21, 2011 5:19 am
  • Posts: 11
  • Offline
  • Profile

recordsetSort:sort event

Post Posted: Thu Nov 17, 2011 8:44 am
+0-
I would like to "hijack" the recordsetSort:sort event and do my own thing on the server to do the sorting. Can I get the sortBy and dir from the event?

Code:
     
    myTable.set("recordset",jo.data);
    myTable.plug(Y.Plugin.DataTableSort);
     
    myTable.before("recordsetSort:sort", function(ev){
        ev.preventDefault();
        ev.stopPropagation();
       
        // Can I get the sortBy and dir from ev so I can pass it to the server?
                 
      } );


Thanks.
  [ 1 post ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum