Datatable Cell Selection (cell block)

Components, Ajax Framework, Utilities and More.
User avatar
Ben Utzer
Posts: 61
Joined: 10 Feb 2010, 12:05

01 Mar 2010, 11:54

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

User avatar
optimus.prime
Prime
Posts: 17394
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 Mar 2010, 12:03

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?

User avatar
Ben Utzer
Posts: 61
Joined: 10 Feb 2010, 12:05

01 Mar 2010, 12:15

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

User avatar
optimus.prime
Prime
Posts: 17394
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 Mar 2010, 13:09

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.

User avatar
Ben Utzer
Posts: 61
Joined: 10 Feb 2010, 12:05

01 Mar 2010, 13:58

Thanks, I will propose your offer to the management.

User avatar
optimus.prime
Prime
Posts: 17394
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Mar 2010, 18:40

Glad to hear, thank you.


profetiko
Posts: 1
Joined: 28 Jan 2013, 13:56

28 Jan 2013, 16:10

Hi all

About the implementation you mentioned above (cell selection in datatable, range, single, multiple) is already present in the version currently in production? if it's not where can I find it?

Best regards

kukeltje
Expert Member
Posts: 8444
Joined: 17 Jun 2010, 13:34
Location: Netherlands

28 Jan 2013, 20:43

No, and please don't resurect almost 3 year old posts
Ronald van Kuijk
______________________________
PrimeFaces 5.2, PrimeFaces plus 0.0.2 | JbossWildfly 8.1| Mojarra 2.2.8
Fedora 21, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

User avatar
optimus.prime
Prime
Posts: 17394
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Jan 2013, 09:12

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider], Google [Bot], Marcus Lanvers, Yahoo [Bot] and 23 guests