Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-4

Add expression or the current row index of rich:dataTable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Often the first column in the dataTable is used for showing the current row index. It will be good for rich:dataTable to support such feature. Something like:

      <rich:dataTable currentRowVar="curRow">
      <rich:column>#

      {curRow}

      </rich:column>
      </rich:dataTable>

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            alexsmirnov Alexander Smirnov added a comment -

            added rowKeyVar attribute, for name of EL-variable contained current row key ( with default model, this variable will be hold Integer with current row number ).

            Show
            alexsmirnov Alexander Smirnov added a comment - added rowKeyVar attribute, for name of EL-variable contained current row key ( with default model, this variable will be hold Integer with current row number ).

              People

              • Assignee:
                afrancuzov Alexander Francuzov
                Reporter:
                amitev Adrian Mitev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development