-
15. No support for <rich:columns> in RF 4.0.0 CR1?
knecht Apr 1, 2011 9:16 AM (in response to ahoehn)Hi,
is there any chance to add an Index, just like the "index" Attribute from <rich:columns>, to the c:forEach workaround?
-
16. No support for <rich:columns> in RF 4.0.0 CR1?
knecht Apr 7, 2011 8:04 AM (in response to knecht)nvm. The solution is the varStatus attribute from <c:forEach> tag. Just do <c:forEach ... varStatus="status"> and u can call the index with #{status.index}
-
17. Re: No support for <rich:columns> in RF 4.0.0 CR1?
pujar.santosh May 23, 2014 5:52 AM (in response to ilya_shaikovsky)Hello Ilya,
I am also using <c:forEach> to generate columns dynamically. Though, it is working properly in my application, the columns are behaving weirdly when I try to expand them. Whenever I expand any column in the table only first column gets expanded automatically instead of actual one.
Could you please give me some clues to fix this issue.
Thank you & BRs,
Santosh
-
18. Re: No support for <rich:columns> in RF 4.0.0 CR1?
ravivarmakola Jun 10, 2016 7:24 AM (in response to ahoehn)Hi,
any update on when will <rich:columns> migrated to richfaces 4.5 or later versions?
we have been using EDT with <c:forEach> to generate dynamic columns but as i understand that c:forEach will create components based on iteration levels, this made my page very slow when the rows and columns grew.
-
19. Re: No support for <rich:columns> in RF 4.0.0 CR1?
michpetrov Jun 10, 2016 11:19 AM (in response to ravivarmakola)Unfortunately, rich:columns won't be implemented. Although, have you tried adding the columns manually? The page might be slow simply due to the amount of data (and as far as I recall rendering tables is resource-consuming for browsers too).
-
20. Re: No support for <rich:columns> in RF 4.0.0 CR1?
ravivarmakola Jun 17, 2016 3:23 AM (in response to michpetrov)Thanks Michal,
Adding the columns manually...? That's not our requirement. We have some check boxes, based on the selection/de-selection of checkbox, the columns to the EDT to be added/removed dynamically. In each cell we have to display a composite component which again will have a lot of rich faces components based on a flag it will render text box/text area/select boxes/link etc. As per my understanding If it has been a rich:columns, then the tree will hold only 1 set of components and ofcourse based on iterations the render response phase will write those components to HTML. But as we are using c:forEach, all the components (rowsXcolumns of cc components) will end up in the component tree hence making my tree grow bigger and unresponsive.
Is there a way, i can extend the richfaces EDT and write my own component which does something like this?
<my:extendedDataTable value="#{rows}" var="rowAttribute">
<my:columns items="#{columns}" var="column" varStatus="i">
<my:cc .../>
</my:columns>
</my:extendedDataTable>
Any pointers is much appreciated!!
-
21. Re: No support for <rich:columns> in RF 4.0.0 CR1?
michpetrov Jun 17, 2016 4:30 AM (in response to ravivarmakola)The table already iterates over rows, you'd have to duplicate that code to generate columns.