Ext.NET
5.3.0
.NET Component Framework for Enterprise Level Apps
|
Public Member Functions | |
RowEditingDirectEvents () | |
RowEditingDirectEvents (Observable parent) | |
Public Member Functions inherited from Ext.Net.ComponentDirectEvents | |
ComponentDirectEvents () | |
ComponentDirectEvents (Observable parent) | |
virtual void | ClearDirectEvents () |
Public Member Functions inherited from Ext.Net.BaseItem | |
virtual bool | HasExplicitValue (string name) |
void | EnsureDataBind () |
virtual void | Call (string name) |
virtual void | Call (string name, params object[] args) |
virtual void | AddScript (string script) |
virtual void | AddScript (string script, params object[] args) |
virtual bool | IsEmptyObject () |
T | Apply< T > (IApply config) |
BaseItem | Apply (object config) |
virtual void | LoadViewState (object state) |
virtual object | SaveViewState () |
virtual void | TrackViewState () |
void | SetDirty () |
virtual void | DataBind () |
virtual IControlBuilder | ToNativeBuilder () |
Properties | |
virtual ComponentDirectEvent?? | BeforeEdit [get] |
Fires before row editing is triggered. More... | |
virtual ComponentDirectEvent?? | CancelEdit [get] |
Fires when the user has started editing a row but then cancelled the edit. More... | |
virtual ComponentDirectEvent?? | Edit [get] |
Fires after a row is edited. More... | |
virtual ComponentDirectEvent?? | ValidateEdit [get] |
Fires after a cell is edited, but before the value is set in the record. Return false to cancel the change. More... | |
override ConfigOptionsCollection | ConfigOptions [get] |
Properties inherited from Ext.Net.ComponentDirectEvents | |
virtual Observable | Parent [get, set] |
Properties inherited from Ext.Net.BaseItem | |
virtual string | InstanceOf [get] |
ItemState | State [get] |
virtual DefaultValueMode | DefaultValueMode [get, set] |
virtual bool | DesignMode [get] |
bool | AutoDataBind [get, set] |
ResourceManager | ResourceManager [get] |
virtual Control | Owner [get, set] |
The Owner Control for this Listener. More... | |
virtual bool | IsDefault [get] |
Does this object currently represent it's default state. More... | |
bool | IsTrackingViewState [get] |
EventHandlerList | Events [get] |
EventHandler | DataBinding |
Control?? | BindingContainer [get] |
virtual ConfigItemCollection?? | CustomConfig [get] |
Collection of custom js config More... | |
virtual ConfigOptionsCollection | ConfigOptions [get] |
virtual ConfigOptionsExtraction | ConfigOptionsExtraction [get] |
System.Web.Mvc.HtmlHelper?? | HtmlHelper [get, set] |
Properties inherited from Ext.Net.IXObject | |
ConfigOptionsCollection | ConfigOptions [get] |
ConfigOptionsExtraction | ConfigOptionsExtraction [get] |
DefaultValueMode | DefaultValueMode [get, set] |
Additional Inherited Members | |
Protected Member Functions inherited from Ext.Net.BaseItem | |
BaseItem (Control owner) | |
BaseItem () | |
virtual void | OwnerUpdate (Control owner) |
virtual void | OnDataBinding (EventArgs e) |
|
inline |
|
inline |
|
get |
Fires before row editing is triggered.
The edit event object has the following properties: grid - The grid this editor is on view - The grid view store - The grid store record - The record being edited row - The grid table row column - The grid Column defining the column that initiated the edit rowIdx - The row index that is being edited colIdx - The column index that initiated the edit cancel - Set this to true to cancel the edit or return false from your handler.
Parameters item : Ext.grid.plugin.Editing e : Object An edit event (see above for description)
|
get |
Fires when the user has started editing a row but then cancelled the edit.
The edit event object has the following properties: grid - The grid this editor is on view - The grid view store - The grid store record - The record being edited row - The grid table row column - The grid Column defining the column that initiated the edit rowIdx - The row index that is being edited colIdx - The column index that initiated the edit cancel - Set this to true to cancel the edit or return false from your handler.
Parameters item : Ext.grid.plugin.Editing e : Object An edit event (see above for description)
|
get |
|
get |
Fires after a row is edited.
The edit event object has the following properties: grid - The grid this editor is on view - The grid view store - The grid store record - The record being edited row - The grid table row column - The grid Column defining the column that initiated the edit rowIdx - The row index that is being edited colIdx - The column index that initiated the edit
Parameters item : Ext.grid.plugin.Editing e : Object An edit event (see above for description)
|
get |
Fires after a cell is edited, but before the value is set in the record. Return false to cancel the change.
The edit event object has the following properties: grid - The grid this editor is on view - The grid view store - The grid store record - The record being edited row - The grid table row column - The grid Column defining the column that initiated the edit rowIdx - The row index that is being edited colIdx - The column index that initiated the edit cancel - Set this to true to cancel the edit or return false from your handler.
Usage example showing how to remove the red triangle (dirty record indicator) from some records (not all). By observing the grid's validateedit event, it can be cancelled if the edit occurs on a targeted row (for example) and then setting the field's new value in the Record directly:
grid.on('validateedit', function(ed, e) { var myTargetRow = 6;
if (e.row == myTargetRow) { e.cancel = true; e.record.data[e.field] = e.value; } });
Parameters item : Ext.grid.plugin.Editing e : Object An edit event (see above for description)