osi
1
Hi
I’ve got 2 questions.
- It’s possible add an event to vertical scroll bar of a datatable? I tried this code, but it doesn’t work
$$(ID_tabla)._y_scroll.attachEvent(“click”, function(){
webix.message(“click”);
});
- It’s possible that this event could be a tipical onmouseup HTML event? I said, this fires when release button of a mouse.
Thanks very much, and regards
maksim
2
If you need to catch the scrolling itself - you can use onScrollY and onScrollX events
http://docs.webix.com/api__ui.datatable_onscrolly_event.html
As for native html events, you can try to use the next
webix.event($$(ID_tabla)._y_scroll.$view, "mouseup", function(e){
//custom code
});
Beware that _y_scroll is a private property, it will not be accessible with compressed version of webix.js