Check documentation for the latest version 6.0 of dhtmlxSuite sort DHTMLX Docs

sort

adds any user-defined handler to available events

void sort();

Example

myChart.sort("Year","asc","int");
myChart.sort(function(a,b){
    return a.Version > b.Version ? 1 : -1;
},"asc");

Back to top