C# Class Ext.Net.GridPanelBase

Exibir arquivo Open project: pgodwin/Ext.net Class Usage Examples

Private Properties

Property Type Description
AddColumn void
AddRecord void
AddRecord void
AfterSelModelAdd void
AfterSelModelRemove void
AfterStoreAdd void
AfterViewAdd void
AfterViewRemove void
CreateChildControls void
DefaultSelectionSavingBuffer int
DeleteSelected void
EnsureHeaderColumn void
EnsureHeaderControl void
InsertColumn void
InsertRecord void
InsertRecord void
ListenStore void
OnInit void
OnPreRender void
Reconfigure void
RefreshView void
RemoveColumn void
SetHideHeaders void
StartEditing void
StopEditing void
StopEditing void
Store_BeforeClientInit void
UpdateCell void
UpdateCell void

Public Methods

Method Description
GetSelectionModel ( ) : AbstractSelectionModel

Returns a GridPanel's Selection model

GetStore ( ) : Store

GetView ( ) : GridView

Returns a GridPanel's View

Reconfigure ( string store ) : void

Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed. Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.

Reconfigure ( string store, ColumnModel cm ) : void

Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed. Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.

Protected Methods

Method Description
CheckStore ( ) : void

Private Methods

Method Description
AddColumn ( ColumnBase column ) : void
AddRecord ( object values ) : void
AddRecord ( object values, bool commit ) : void
AfterSelModelAdd ( Observable item ) : void
AfterSelModelRemove ( Observable item ) : void
AfterStoreAdd ( Store item ) : void
AfterViewAdd ( GridView item ) : void
AfterViewRemove ( GridView item ) : void
CreateChildControls ( ) : void
DefaultSelectionSavingBuffer ( ) : int
DeleteSelected ( ) : void
EnsureHeaderColumn ( GridView item, HeaderColumn column ) : void
EnsureHeaderControl ( GridView item, Component c ) : void
InsertColumn ( int index, ColumnBase column ) : void
InsertRecord ( int index, object values ) : void
InsertRecord ( int index, object values, bool commit ) : void
ListenStore ( ) : void
OnInit ( EventArgs e ) : void
OnPreRender ( EventArgs e ) : void
Reconfigure ( ) : void
RefreshView ( ) : void
RemoveColumn ( int index ) : void
SetHideHeaders ( bool hide ) : void
StartEditing ( int rowIndex, int colIndex ) : void
StopEditing ( ) : void
StopEditing ( bool cancel ) : void
Store_BeforeClientInit ( Observable sender ) : void
UpdateCell ( int rowIndex, string dataIndex, object value ) : void
UpdateCell ( object id, string dataIndex, object value ) : void

Method Details

CheckStore() protected method

protected CheckStore ( ) : void
return void

GetSelectionModel() public method

Returns a GridPanel's Selection model
public GetSelectionModel ( ) : AbstractSelectionModel
return AbstractSelectionModel

GetStore() public method

public GetStore ( ) : Store
return Store

GetView() public method

Returns a GridPanel's View
public GetView ( ) : GridView
return GridView

Reconfigure() public method

Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed. Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.
public Reconfigure ( string store ) : void
store string Store ClientID
return void

Reconfigure() public method

Reconfigures the grid to use a different Store and Column Model and fires the 'reconfigure' event. The View will be bound to the new objects and refreshed. Be aware that upon reconfiguring a GridPanel, certain existing settings may become invalidated. For example the configured autoExpandColumn may no longer exist in the new ColumnModel. Also, an existing PagingToolbar will still be bound to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data.
public Reconfigure ( string store, ColumnModel cm ) : void
store string Store ClientID
cm ColumnModel New ColumnModel
return void