invokes before a dataset is sorted
by | string | a template of sort-by field |
dir | string | a direction of sorting |
as | string | a type of sorting |
myChart.attachEvent("onBeforeSort", function (by, dir, as){
//any custom logic here
});
Event can be blocked, returning false will prevent normal reaction of component.
Event name is case insensitive.
Back to top