ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-493

Add easier createNewRow methods to RichDataGrid

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      Add 2 new methods to the RichDataGrid to facilitate adding new rows programatically.

      /**
           * Create a new row for the table above or below an existing row.
           * The new row object will be created by reflection.
           *
           * @param existingRow An existing row
           * @param location 'above' or 'below'
           */
          createNewRow(Object existingRow, String location)

      /**
           * Crate a new row the table at a specific index. The new
           * row object will be created by reflection.
           *
           * @param index The index to insert the row.
           */
          public void createNewRowAtIndex(int index){
              super.createNewRowAtIndex(index);
              this.updateRandom();
          }

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: