Hello cagatay
We are using the latest version of Primefaces and have successfully implementd "datatable with multiple selection checkboxes". However, we would like to know whether there is any means by which we can introduce a "checkbox" as a column header [against the column which have the checkboxes'] by which we would be able to check/uncheck all the table records.
Thanks in advance.
-Anjan
Datatable Checkbox
-
- Posts: 3
- Joined: 28 Jan 2010, 13:19
Hello Group
Is there any one in the group who have any idea on this?
Thanks in advance!
- Anjan
Is there any one in the group who have any idea on this?
Thanks in advance!
- Anjan
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi Anjan,
Please see number 3 in forum guidelines; http://primefaces.prime.com.tr/forum/vi ... f=3&t=1194
Selecting all checkboxes is possible with client side api, you need to get all records at client side, set pf_column_select key to true.
I think it sounds good for PrimeFaces to provide a built-in solution to this as it's a common requirement.
In future we can add a new attribute to p:column for this like;
selectAllToggler will add a checkbox to column header to select/unselect all rows.
Please see number 3 in forum guidelines; http://primefaces.prime.com.tr/forum/vi ... f=3&t=1194
Selecting all checkboxes is possible with client side api, you need to get all records at client side, set pf_column_select key to true.
I think it sounds good for PrimeFaces to provide a built-in solution to this as it's a common requirement.
In future we can add a new attribute to p:column for this like;
Code: Select all
<p:column selectionMode="multiple" selectAllToggler="true" />
-
- Posts: 3
- Joined: 28 Jan 2010, 13:19
Thanks cagatay.
It would be really nice to have this feature in primefaces.
May I know, when can we expect this?
-Regards, Anjan
It would be really nice to have this feature in primefaces.
May I know, when can we expect this?
-Regards, Anjan
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi Anjan,
I agree that it looks like a really nice feature, as there are some other issues/features with higher priorioty we are working on at the moment, I can't say an exact timeframe for this.
You may consider case support option, with that we could implement this in 1-2 days.
http://primefaces.org/support.html
I agree that it looks like a really nice feature, as there are some other issues/features with higher priorioty we are working on at the moment, I can't say an exact timeframe for this.
You may consider case support option, with that we could implement this in 1-2 days.
http://primefaces.org/support.html
-
- Information
-
Who is online
Users browsing this forum: No registered users and 32 guests