Hello,
for my project I need the functionality to select multiple cells like in the YUI datatable cell block selection mode example (http://developer.yahoo.com/yui/examples ... elect.html). Right now Primefaces only seems to support single and multiple row selection.
I would appreciate your ideas on how to best achieve this requirement with the current state of Primefaces. What parts of the datatable component should be changed? I know I need another selection mode but I'm unsure on how to handle the cell selection compared to the row selection which is already supported by the standard jsf datatable.
Thank you,
Ben
Datatable Cell Selection (cell block)
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi Ben,
Cell selection is a planned feature to add to PrimeFaces datatable. See the related ticket;
http://code.google.com/p/primefaces/iss ... ail?id=560
I guess a cell click handler needs to be registered on javascript side with corresponding server side listener.
Your requirement is selections cells and then using a button like submit to send them to JSF backing bean right?
Cell selection is a planned feature to add to PrimeFaces datatable. See the related ticket;
http://code.google.com/p/primefaces/iss ... ail?id=560
I guess a cell click handler needs to be registered on javascript side with corresponding server side listener.
Your requirement is selections cells and then using a button like submit to send them to JSF backing bean right?
Hi Cagatay,
thanks for your quick response. You are correct, the user should be able to select (even noncontinous) cell blocks which would be submitted to the server. It would be nice if it were possible to configure if every cell selection event get send to the server or just the selected cells after clicking a submit button.
This would be a real unique feature, as I haven't found this selection mode even on plain javascript libraries. I'm glad to see that this feature is already planned. Can you estimate when a first version would be available?
Thanks alot,
Ben
thanks for your quick response. You are correct, the user should be able to select (even noncontinous) cell blocks which would be submitted to the server. It would be nice if it were possible to configure if every cell selection event get send to the server or just the selected cells after clicking a submit button.
This would be a real unique feature, as I haven't found this selection mode even on plain javascript libraries. I'm glad to see that this feature is already planned. Can you estimate when a first version would be available?
Thanks alot,
Ben
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
As we implement most of the features based on the volume of requests from community, for now I can say in a couple of months as there are other issues with higher priority.
You might also consider commercial case support offer, in that case this feature could be implemented in a couple of days.
You might also consider commercial case support offer, in that case this feature could be implemented in a couple of days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Glad to hear, thank you.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Cell selection feature is ready;
Single Cell: http://www.primefaces.org:8080/prime-sh ... Single.jsf
Cell Range: http://www.primefaces.org:8080/prime-sh ... nRange.jsf
Cell Block: http://www.primefaces.org:8080/prime-sh ... nBlock.jsf
Single Cell: http://www.primefaces.org:8080/prime-sh ... Single.jsf
Cell Range: http://www.primefaces.org:8080/prime-sh ... nRange.jsf
Cell Block: http://www.primefaces.org:8080/prime-sh ... nBlock.jsf
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
WoW, 3 year old thread necromancy, I think this is a record in forum. I was actually 3 years younger when I made my last post in this thread.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 44 guests