• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

show dynamic column in dataTable

 
swapnel surade
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"johny tony " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Kavita Tipnis
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
another option- bind the datatable and create columns programmatically by binding column instances to UIColumn
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic