[
http://jira.jboss.com/jira/browse/RF-1197?page=comments#action_12403495 ]
Mohamed Himi commented on RF-1197:
----------------------------------
Hi,
I also have the same question as Richard. Would the rich:scrollableDataTable support the
dynamic columns feature?
Additionally,
Is it for this moment, possible to create a table with dynamic column count using the
rich:scrollableDataTable?
When i use the snippet below the content is not rendered:
<rich:scrollableDataTable id="datalist" rows="0"
value="#{scroll.rows}" var="r" width="1000" >
<ui:repeat value="#{scroll.columns}" var="c" >
<rich:column>
<f:facet
name="header"><h:outputText value="field #{c}"
/></f:facet> <h:outputText value="#{r}:#{c}" />
</rich:column>
</ui:repeat>
</rich:scrollableDataTable>
When i put the iteration inside a subtable, the table content is rendered, but i get an
extra column, the headers and the horizontal scrollbar are missing:
<rich:scrollableDataTable id="datalist" rows="0"
value="#{scroll.rows}" var="r" width="1000" >
<rich:subTable>
<ui:repeat value="#{scroll.columns}" var="c" >
<rich:column>
<f:facet
name="header"><h:outputText value="field #{c}"
/></f:facet> <h:outputText value="#{r}:#{c}" />
</rich:column>
</ui:repeat>
</rich:subTable>
</rich:scrollableDataTable>
please see attachement: rich_scrollabledatatable_dynamic_columns.doc for screenshots.
am i doing things wrong?
is it possible to create dynamic table using the current version of
rich:scrollableDataTable?
will it be possible in release 3.2.0?
thanks,
mohamed
Feature: dynamic columns
------------------------
Key: RF-1197
URL:
http://jira.jboss.com/jira/browse/RF-1197
Project: RichFaces
Issue Type: Feature Request
Components: planning
Affects Versions: 3.1.3
Reporter: Nick Belaevski
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
Attachments: rich_scrollabledatatable_dynamic_columns.doc
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira