[richfaces-issues] [JBoss JIRA] Created: (RF-10995) datagrid: suppress empty columns

u j (JIRA) jira-events at lists.jboss.org
Fri May 20 05:32:00 EDT 2011


datagrid: suppress empty columns
--------------------------------

                 Key: RF-10995
                 URL: https://issues.jboss.org/browse/RF-10995
             Project: RichFaces
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.0.0.Final
            Reporter: u j
            Priority: Minor


When the number of elements in a rich:dataGrid is less than expected, empty columns are created.
It would be nice to have an attribute like "noEmptyColumns" to suppress those.
Currently you have to use a clumsy workaround like
columns="#{fn:length(bean.result) lt 4 ? fn:length(bean.result) : 4}"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list