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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion