You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stoyanovski Thank you for the fix. While we're at it, can we also add sapMSwt to the list of clickable controls? I'm aware that sap.m.Switch is not one of those officially supported controls but the Switch has the same issue. When clicked, the row is selected.
Hi @boghyon ,
As the Switch control is not supported, you can implement a workaround on application side like this:
oControl = new sap.m.Switch({state:"{checked}"});
oControl.addEventDelegate({
onclick: function(oEvent){oEvent.setMarked();}
});
When the event is set as marked, the table doesn't process it and the selection won't change.
Best Regards,
Oliver
URL (minimal example if possible):
https://jsbin.com/zibahol/edit?html,js,output
Steps to reproduce the problem:
What is the expected result?
Row selection is prevented.
What happens instead?
pressevent of the ObjectStatus is firedAny other information? (attach screenshot if possible)
This applies to all
sap.ui.table.*tables.The text was updated successfully, but these errors were encountered: