xe:listView prevent multiselect
-
15-06-2021 - |
Question
If you select multiple entries by using the CTRL button you can select multiple view entries. I need to find a way to prevent this to happen. How can I turn off this feature?
Solution
Because the listview is a custom dijit control, the properties are adjustable in CSJS.
This is the solution:
dijit.byId('#{id:listView1}').bAllowMultipleSelection = false;
dijit.byId('#{id:listView1}').initVirtualList();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow