aspose file tools
The moose likes JSF and the fly likes Using expand/collapse with dataTable JSF Components Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Using expand/collapse with dataTable JSF Components" Watch "Using expand/collapse with dataTable JSF Components" New topic
Author

Using expand/collapse with dataTable JSF Components

Pradeep Kattehithlu
Greenhorn

Joined: Mar 14, 2006
Posts: 2
I have a dataTable which is dynamically populated. I need to hide or show each row depending depending on whether user clicks plus or minus which is right next to the each row . Can anyone help me on this ...


Below is what i tried...... and it is not working....
I tried to put panelGrid inside each column JSF component.But whats happening is the id in each panelGrid is same and hence i am unable to close or open each row using Javascript.
Danniel Vettori
Greenhorn

Joined: Dec 12, 2009
Posts: 1
Hello Pradeep,

I have the same problem. I want to do expand and collapse buttons in Rich Faces data table and I am not going anywhere from othree months. Have you find solution for your problem, if you can help me I truly appreciate it. Please email me back at vettori_daniel@yahoo.com and I will send you my code.

Thank you!
Danniel
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Using expand/collapse with dataTable JSF Components
 
Similar Threads
Datatable configuration
Dynamic Component in JSF
Unknown column names - how to display?
Handling list of newly added rows on client side
Adding a Datatable as a row in another Datatable