If in a datatable with multiple selection, how to select them all? A plain single click acts like CTRL-click, and shift click does weird things with selection on the screen.
I basically want the user to be able to do a select all. CTRL-A is no good. Click on 1st row, shift-click on last row is no good.
I've tried on the showcase with IE8, FF3.6, Chrome 7.
Clues?
datatable multiple select puzzlement
It does say the following at the top of the page:
However, this appears to be a left over from the old 2.1 DataTable. This isn't supported in the new DataTable (yet?).
Perhaps you can achieve what you want with checkbox selection: http://www.primefaces.org/showcase/ui/d ... eckbox.jsf.
http://www.primefaces.org/showcase/ui/d ... ltiple.jsfMultiple selection is achieved by using modifier keys such as ctrl.
However, this appears to be a left over from the old 2.1 DataTable. This isn't supported in the new DataTable (yet?).
Perhaps you can achieve what you want with checkbox selection: http://www.primefaces.org/showcase/ui/d ... eckbox.jsf.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 52 guests