Use KeyboardEvent to detect ctrl or
If this post answers your question or helps, please mark it as such.
I don't want that user has to use the ctrl or the shift.
He has simply to click on the item to add or remove from the selectedItems.
If you don't want to use keyborad interaction then you can simply set properties for TileList items like, selected = true/false.
which you can toggle on click of the item.
1 person found this helpful
You are going to have to override the protected selectItem function. You can look at the current implementation in ListBase. Note that selectItem is called when a list item is clicked or the SPACE key is pressed.
Thank you for the info.
Is it possible to disable that SPACE calls the selectItem? Or to check if the selectItem is called by using SPACE instead of a click?