onAfterSort

fires after sorting dataset

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

Parameters

bystring/functiontemplate of sort-by field
dirstringdirection of sorting
asstring/functiontype of sorting

Example

view.data.attachEvent("onAfterSort", function(by, dir, as){
    //... some code here ... 
});

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of javascript menu product.