primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Missing common selection mode in TurboTable (as in DataTable)

Open ARandomDude opened this issue 8 years ago • 4 comments

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

I've already mentioned this in #4894, but since RC2 is out now and since I think it's really important, I want to emphasize this:

Take a look at the selection demo of the old datatable. The multiple mode meant that normal clicks behave as in single mode, but you have the option of holding the CTRL or SHIFT keys to make multiple selections. I think this is a very common usecase and ubiquitous in a lot of controls in applications.

With the new multiple selection mode in TurboTable behaving differently, there is no "native" way of implementing the beforementioned behavior.

Please re-implement a way to achieve this behavior.

ARandomDude avatar Jan 23 '18 15:01 ARandomDude

If more users demand it, why not. Right now only 2 up votes. We probably need 20 and so to do it.

cagataycivici avatar Jan 31 '18 10:01 cagataycivici

I understand and respect your decision; but please keep in mind that this may keep users from updating to the new TurboTable. Also Wijmo, Kendo UI, and Teradata, to name a few, support this behavior (as do most UI frameworks).

ARandomDude avatar Jan 31 '18 13:01 ARandomDude

@ARandomDude please upgrade to v5.2.1 and use metaKeySelection option (boolean, set it to true). Example available here: https://www.primefaces.org/primeng/#/table/selection

bossqone avatar Mar 06 '18 17:03 bossqone

See;

https://primefaces.org/primeng/showcase/#/table/selection

cagataycivici avatar Mar 29 '20 13:03 cagataycivici