DHTMLX Docs & Samples Explorer

onAfterSorting Event

Required library edition: This method requires Professional Edition of the DHTMLX library

This event occurs exactly after sorting took place in the grid.

Parameters:

  • column index
  • sorting type (“str”,”int”,”date”)
  • direction of sorting (“asc”,”des”)
        grid.attachEvent("onAfterSorting", function(index,type,direction){
              //any custom logic here
        });