aspose file tools*
The moose likes JSF and the fly likes show dynamic column in dataTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "show dynamic column in dataTable" Watch "show dynamic column in dataTable" New topic
Author

show dynamic column in dataTable

swapnel surade
Ranch Hand

Joined: Mar 05, 2009
Posts: 129
hi guyz,

I want to show dynamic columns in <rich:dataTable>
I have found one way to achieve this functionality using <a4j:repeat>
But getting extra column in table. Is there any way to remove this column.

There is another way also using <rich:columns value="#{data.exampleList}"> but getting exception as "FOREACH_BADITEM"


I'm stuck with these solutions.


Please tell me what is the problem or there is any other way to show dynamic columns in table.


please do reply.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2713
    
    5

"johny tony " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
Kavita Tipnis
Ranch Hand

Joined: Sep 21, 2008
Posts: 177
another option- bind the datatable and create columns programmatically by binding column instances to UIColumn
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: show dynamic column in dataTable
 
Similar Threads
javascript css issue
javascript css issue
Finding Table Cell co-ordination
how to show dynamic columns in <rich:dataTable>
Problem with building columns dynamically using dataTable tag