primeng icon indicating copy to clipboard operation
primeng copied to clipboard

DataTable Single Mode Selection doesn't unselect - 1.0.0

Open praveens4all opened this issue 10 years ago • 5 comments

Still Datatable unselect not firing.

praveens4all avatar Dec 01 '16 08:12 praveens4all

tried with 1.0.0 release also..same issue.

praveens4all avatar Dec 01 '16 09:12 praveens4all

The unselect happens only when you hold Ctrl + click on the row (on desktop). On mobile works just by taping. This was implemented in one of the RCs.

dzhavat avatar Dec 01 '16 09:12 dzhavat

Thanks for reply. But user not aware of Ctrl key. can you please advise how can i fix with out holding Ctrl key.

praveens4all avatar Dec 01 '16 09:12 praveens4all

It's by design and a known use of selection of a table you can change it from source but it's not recommended.

Mrtcndkn avatar Dec 01 '16 10:12 Mrtcndkn

It actually mimics the way Windows works. Try selecting an item and unselecting it :) Anyway, on a web app it can be intuitive. One way is to make the selection with a radio button instead of clicking on the whole row.

Another way is to just rely on the mouse cursor being changed to a hand for indicating clicking.

dzhavat avatar Dec 01 '16 10:12 dzhavat