-
1. Re: rich:datatable multi selection
jhuska Jun 10, 2013 8:46 AM (in response to akatsikas)Hello Antonis,
the selection functionality is available for rich:extendedDataTable only.
-
2. Re: rich:datatable multi selection
akatsikas Jun 10, 2013 8:54 AM (in response to jhuska)Hello Juraj,
Thanks for your reply.
I've known that multi selection functionality is provided "out of the box" for the extended datatable component, but unfortunatelly i refer to an application which uses the rich:datatatable,
so i prefer to find a solution to implement a custom multi select feauture to rich:datatable, instead of replacing all the application grids, from rich:datatable to rich:extendedDatatable.
Any workarounds would be appreciated.
-
3. Re: rich:datatable multi selection
lfryc Jun 10, 2013 9:46 AM (in response to akatsikas)Hey Antonis,
if you would do that JSF way, you should probably stick with a h:booleanCheckbox in each row.
You can provide nice styling - when checkbox's value is true, the row is highlighted and vice versa.
However you will need to deal with all the JavaScript code which will make this happen like support for Ctrl+click, Shift+click for multiselection, etc.
I think Juraj is correct that it should be more appropriate to use more advanced JSF table component like rich:extendedDataTable.