Check documentation for the latest version of dhtmlxSuite onAfterSort DHTMLX Docs

onAfterSort

occurs after a dataset is sorted

void onAfterSort(string by,string dir,string as){ ... };

Parameters

bystringa template of sort-by field
dirstringa direction of sorting
asstringa type of sorting

Example

myChart.attachEvent("onAfterSort", function (by, dir, as){
//any custom logic here
});

Details

Event name is case insensitive.

Back to top