Details
-
Type: New Feature
-
Status: Closed
-
Priority: 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
-
Support Case References:Support Case #12804 - https://icesoft.my.salesforce.com/5007000000c2Oah
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();
}
/**
* 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
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | EE-3.3.0.GA_P02 [ 11372 ] | |
Resolution | Fixed [ 1 ] |
Arran Mccullough
made changes -
Support Case References | Support Case #12804 - https://icesoft.my.salesforce.com/5007000000c2Oah |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Revision: 38189
Author: philip.breau
Date: May-06-14 11:12:55 AM
Message:
IPCK-493Add easier createNewRow methods to RichDataGridModified : /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