Package | com.flexicious.nestedtreedatagrid.behaviors.rowedit |
Class | public class RowEditBehavior |
Inheritance | RowEditBehavior Object |
Property | Defined By | ||
---|---|---|---|
buttonContainer : HBox
The container for the buttons. | RowEditBehavior | ||
buttonContainerHeight : Number = 30
The height of the button container
| RowEditBehavior | ||
buttonContainerWidth : Number = 168
The width of the button container
| RowEditBehavior | ||
buttonRowHeight : Number = 20
The height of the button row. | RowEditBehavior | ||
cancelButton : Button
The cancel Button
| RowEditBehavior | ||
cancelButtonStyleName : String
The styleName to apply to the Cancel button
| RowEditBehavior | ||
cancelButtonText : String = Cancel
The text of the Cancel Button
| RowEditBehavior | ||
currentEditCell : IFlexDataGridDataCell
The cell that triggered the edit. | RowEditBehavior | ||
currentEditCellInfo : CellInfo
The cellinfo associated with the currentEditCell
| RowEditBehavior | ||
enabled : Boolean = false
Is the RowEditBehavior enabled?
| RowEditBehavior | ||
grid : FlexDataGrid
The grid associated with this behavior
| RowEditBehavior | ||
itemEditorsCommitFunction : Function = null
A function that may be used to commit item editors where itemEditorManagesPersistence=true. | RowEditBehavior | ||
itemEditorsInitializeFunction : Function = null
A function that may be used to init all the item editors. | RowEditBehavior | ||
itemEditorsValidatorFunction : Function = null
A function that may be used to validate all the item editors. | RowEditBehavior | ||
leftLockedContent : UIComponent
The container for left locked edit cells. | RowEditBehavior | ||
okButton : Button
The ok Button
| RowEditBehavior | ||
okButtonStyleName : String
The styleName to apply to the OK button
| RowEditBehavior | ||
okButtonText : String = Save
The text of the Save Button
| RowEditBehavior | ||
padding : Number = 10
The space between the top of the edit row and the editors. | RowEditBehavior | ||
rightLockedContent : UIComponent
The container for right locked edit cells. | RowEditBehavior | ||
unlockedContent : Container
The container for unlocked edit cells. | RowEditBehavior |
Method | Defined By | ||
---|---|---|---|
RowEditBehavior(grid:FlexDataGrid) | RowEditBehavior |
Method | Defined By | ||
---|---|---|---|
endEdit(event:Event):void | RowEditBehavior | ||
onCellKeyUp(event:KeyboardEvent):void | RowEditBehavior | ||
onGridScroll(event:ScrollEvent):void | RowEditBehavior |
buttonContainer | property |
public var buttonContainer:HBox
The container for the buttons.
buttonContainerHeight | property |
public var buttonContainerHeight:Number = 30
The height of the button container
buttonContainerWidth | property |
public var buttonContainerWidth:Number = 168
The width of the button container
buttonRowHeight | property |
public var buttonRowHeight:Number = 20
The height of the button row.
cancelButton | property |
public var cancelButton:Button
The cancel Button
cancelButtonStyleName | property |
public var cancelButtonStyleName:String
The styleName to apply to the Cancel button
cancelButtonText | property |
public var cancelButtonText:String = Cancel
The text of the Cancel Button
currentEditCell | property |
currentEditCell:IFlexDataGridDataCell
The cell that triggered the edit.
public function get currentEditCell():IFlexDataGridDataCell
public function set currentEditCell(value:IFlexDataGridDataCell):void
currentEditCellInfo | property |
public var currentEditCellInfo:CellInfo
The cellinfo associated with the currentEditCell
enabled | property |
public var enabled:Boolean = false
Is the RowEditBehavior enabled?
grid | property |
public var grid:FlexDataGrid
The grid associated with this behavior
itemEditorsCommitFunction | property |
public var itemEditorsCommitFunction:Function = null
A function that may be used to commit item editors where itemEditorManagesPersistence=true. Once itemEditorsValidatorFunction is null or returns true, the editors that use the built in persistence will populate the corresponding data object properties. However, editors where itemEditorManagesPersistence=true do not do this. This function allows you to commit values for editors where itemEditorManagesPersistence=true. This is function Will take dictionary object, where in the key will be the "uniqueIdentifier" of each of the columns, and the values will be the actual editors.
itemEditorsInitializeFunction | property |
public var itemEditorsInitializeFunction:Function = null
A function that may be used to init all the item editors. Will take dictionary object, where in the key will be the "uniqueIdentifier" of each of the columns, and the values will be the actual editors. Should return void.
itemEditorsValidatorFunction | property |
public var itemEditorsValidatorFunction:Function = null
A function that may be used to validate all the item editors. Will take dictionary object, where in the key will be the "uniqueIdentifier" of each of the columns, and the values will be the actual editors. Should return true or false.
leftLockedContent | property |
public var leftLockedContent:UIComponent
The container for left locked edit cells.
okButton | property |
public var okButton:Button
The ok Button
okButtonStyleName | property |
public var okButtonStyleName:String
The styleName to apply to the OK button
okButtonText | property |
public var okButtonText:String = Save
The text of the Save Button
padding | property |
public var padding:Number = 10
The space between the top of the edit row and the editors.
rightLockedContent | property |
public var rightLockedContent:UIComponent
The container for right locked edit cells.
unlockedContent | property |
public var unlockedContent:Container
The container for unlocked edit cells.
RowEditBehavior | () | Constructor |
endEdit | () | method |
protected function endEdit(event:Event):void
Parameters
event:Event |
onCellKeyUp | () | method |
protected function onCellKeyUp(event:KeyboardEvent):void
Parameters
event:KeyboardEvent |
onGridScroll | () | method |
protected function onGridScroll(event:ScrollEvent):void
Parameters
event:ScrollEvent |