Hey everyone,
Im blocked if you can help.
ojtable have an option 'selection-mode'
selectionMode.row='single' // to enable select one row
selectionMode.row='multipl' // to enable select many rows
and by setting the select mode:
- we can use the event on-selection-changed="[[singleClick]]"
- and the rows highlighted when selected
I have 2 issues:
1- we use on-selection-changed to triggere event when a row selected, but its triggered 1 time even if I clicked 2 times on a row with a duration between the 2 clicks.
how can I trigger a click event instead of selection-changed event?
2- I want to disable row highlights, I tried selectionMode.row=null it works
but 'on-selection-changed' cant be triggered when I set selection mode to null
as a solution maybe I can use extra css but its bad idea
how can I disable the highlights?
Thanks