onAfterSort of ui.google-map, Events Webix Docs

string/undefineddirection of sorting as
string/functiontype of sorting

Example

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

Details

If the third param is a function, the parameters of such a function are the following:

table.sort("#fieldName#", "desc", function(a, b, prop) {
   return a[prop] - b[prop];
})

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 Map product.