Hi,
I have a grid template that renders a menu in a grid row so a user can select contextual actions which up until recently has worked great while only allowing users to select single rows.
We now need to allow multi-select so switched the feature on. Selecting multiple rows is working fine but it has killed our menus because the Selectable widget used by the Grid for multi-select prevents all row click events from bubbling up.
The offending code within the Kendo code base is:
_select: function(e) {
var selector = "input,a,textarea,.k-multiselect-wrap,select",
msie = kendo.support.browser.msie;
if ($(e.event.target).is(selector)) {
this.userEvents.cancel();
this._downTarget = null;
} else if (!msie || (msie && !$(kendo._activeElement()).is(selector))) {
e.preventDefault();
}
},
Although I have not tested it I assume this stops us from having any kind of clickable items with rows when multi select is switched on?
Does anyone know if there anything I can do as I am going to have to implement a custom multiselect otherwise that doesn't hobble my menus?
I have a grid template that renders a menu in a grid row so a user can select contextual actions which up until recently has worked great while only allowing users to select single rows.
We now need to allow multi-select so switched the feature on. Selecting multiple rows is working fine but it has killed our menus because the Selectable widget used by the Grid for multi-select prevents all row click events from bubbling up.
The offending code within the Kendo code base is:
_select: function(e) {
var selector = "input,a,textarea,.k-multiselect-wrap,select",
msie = kendo.support.browser.msie;
if ($(e.event.target).is(selector)) {
this.userEvents.cancel();
this._downTarget = null;
} else if (!msie || (msie && !$(kendo._activeElement()).is(selector))) {
e.preventDefault();
}
},
Although I have not tested it I assume this stops us from having any kind of clickable items with rows when multi select is switched on?
Does anyone know if there anything I can do as I am going to have to implement a custom multiselect otherwise that doesn't hobble my menus?