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

        Hide
        Philip Breau added a comment -

        Revision: 38189
        Author: philip.breau
        Date: May-06-14 11:12:55 AM
        Message:
        IPCK-493 Add easier createNewRow methods to RichDataGrid


        Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/table/editable/AbstractEditableTableBean.java
        Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/table/richdatagrid/RichDataGridBean.java
        Modified : /icefaces-ee3/trunk/icefaces-ee/samples/ee-composite-showcase/src/main/java/com/icesoft/faces/facelets/example/richdatagrid/RichDataGridExampleBean.java
        Modified : /icefaces-ee3/trunk/icefaces-ee/samples/ee-composite-showcase/src/main/webapp/WEB-INF/includes/examples/composition-components/richDataGridDemo.xhtml

        Show
        Philip Breau added a comment - Revision: 38189 Author: philip.breau Date: May-06-14 11:12:55 AM Message: IPCK-493 Add easier createNewRow methods to RichDataGrid Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/table/editable/AbstractEditableTableBean.java Modified : /icefaces-ee3/trunk/icefaces-ee/ee-comps/ee-composite/src/com/icesoft/faces/facelets/component/table/richdatagrid/RichDataGridBean.java Modified : /icefaces-ee3/trunk/icefaces-ee/samples/ee-composite-showcase/src/main/java/com/icesoft/faces/facelets/example/richdatagrid/RichDataGridExampleBean.java Modified : /icefaces-ee3/trunk/icefaces-ee/samples/ee-composite-showcase/src/main/webapp/WEB-INF/includes/examples/composition-components/richDataGridDemo.xhtml

          People

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

            Dates

            • Created:
              Updated:
              Resolved: