ui.List
The default functionality for ui.List is to select an item on mouseup.
How would you change it so that mousedown selects an item?
How would you change it so that mousedown selects an item?
Eric Juvet
April 26,
list.onItemClicked = function(){return 1}; // cancel existing handler
list.onItemMouseDown = function(event, i){
this.raiseEvent("selectClickedItem", event, i);
};
This topic is archived.
ActiveWidgets is a javascript library for creating user interfaces. It offers excellent performance for complex screens while staying simple, compact and easy to learn. Deployed by thousands of commercial customers in more than 70 countries worldwide.
Copyright © ActiveWidgets 2021