Documentation

onScrollX

fires when the user scrolls the table left or right

void onScrollX(){ ... };

Example

dtable.attachEvent("onScrollX", function(){
    var state = $$('datatable1').getScrollState();    
    webix.message("The scroll coordinates: ["+state.x+","+state.y+"]");                                                                                                                                           
});

See also

Back to top