C# Class Ext.Net.StoreBase

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

Private Properties

Property Type Description
AddField void
AddField void
AddField void
AddField void
AddRecord void
AddRecord void
AddSortedRecord void
AddSortedRecord void
ClearFilter void
ClearFilter void
ClearMeta void
CommitChanges void
Filter void
FilterBy void
FilterBy void
InsertRecord void
InsertRecord void
LoadData void
LoadData void
RejectChanges void
RemoveAll void
RemoveField void
RemoveFields void
SetDefaultSort void
Sort void
UpdateRecordField void
UpdateRecordField void
UpdateRecordId void
UpdateRecordId void

Public Methods

Method Description
ApplyGrouping ( bool alwaysFireChange ) : void

Apply grouping

ApplySort ( ) : void

Apply sort

ClearGrouping ( ) : void

Clears any existing grouping and refreshes the data using the default sort.

GroupBy ( string field ) : void

Groups the data by the specified field.

GroupBy ( string field, bool forceRegroup ) : void

Groups the data by the specified field.

RemoveRecord ( int index ) : void

Remove record by id

RemoveRecord ( object id ) : void

Remove record by id

Private Methods

Method Description
AddField ( RecordField field ) : void
AddField ( RecordField field, bool clearMeta ) : void
AddField ( RecordField field, int index ) : void
AddField ( RecordField field, int index, bool clearMeta ) : void
AddRecord ( object values ) : void
AddRecord ( object values, bool commit ) : void
AddSortedRecord ( object values ) : void
AddSortedRecord ( object values, bool commit ) : void
ClearFilter ( ) : void
ClearFilter ( bool suppressEvent ) : void
ClearMeta ( ) : void
CommitChanges ( ) : void
Filter ( string field, string value, bool anyMatch, bool caseSensitive ) : void
FilterBy ( JFunction fn ) : void
FilterBy ( JFunction fn, string scope ) : void
InsertRecord ( int index, object values ) : void
InsertRecord ( int index, object values, bool commit ) : void
LoadData ( object data ) : void
LoadData ( object data, bool append ) : void
RejectChanges ( ) : void
RemoveAll ( ) : void
RemoveField ( RecordField field ) : void
RemoveFields ( ) : void
SetDefaultSort ( string field, SortDirection dir ) : void
Sort ( string field, SortDirection dir ) : void
UpdateRecordField ( int rowIndex, string dataIndex, object value ) : void
UpdateRecordField ( object id, string dataIndex, object value ) : void
UpdateRecordId ( object id, object newId ) : void
UpdateRecordId ( object id, object newId, bool silent ) : void

Method Details

ApplyGrouping() public method

Apply grouping
public ApplyGrouping ( bool alwaysFireChange ) : void
alwaysFireChange bool fire datachanged event
return void

ApplySort() public method

Apply sort
public ApplySort ( ) : void
return void

ClearGrouping() public method

Clears any existing grouping and refreshes the data using the default sort.
public ClearGrouping ( ) : void
return void

GroupBy() public method

Groups the data by the specified field.
public GroupBy ( string field ) : void
field string The field name by which to sort the store's data
return void

GroupBy() public method

Groups the data by the specified field.
public GroupBy ( string field, bool forceRegroup ) : void
field string The field name by which to sort the store's data
forceRegroup bool True to force the group to be refreshed even if the field passed in is the same as the current grouping field, false to skip grouping on the same field
return void

RemoveRecord() public method

Remove record by id
public RemoveRecord ( int index ) : void
index int index
return void

RemoveRecord() public method

Remove record by id
public RemoveRecord ( object id ) : void
id object id
return void