Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.AbstractStore.Config Class Reference

More...

Inheritance diagram for Ext.Net.AbstractStore.Config:
Ext.Net.Observable.Config Ext.Net.BaseControl.Config Ext.Net.IApply Ext.Net.LegendStore.Config Ext.Net.StoreBase.Config Ext.Net.TreeStoreBase.Config Ext.Net.SyncStoreBase.Config Ext.Net.TreeStore.Config Ext.Net.Store.Config Ext.Net.CalendarStore.Config Ext.Net.ClientStore.Config Ext.Net.EventStore.Config Ext.Net.ModelStateStore.Config

Properties

virtual bool AutoDestroy [get, set]
 true to destroy the store when the component the store is bound to is destroyed (defaults to true). Note: this should be set to true when using stores that are bound to only 1 component and this should be set to false for a store which is associated to a few components. More...
 
virtual ? bool AsynchronousLoad [get, set]
 This defaults to true when this store's proxy is asynchronous, such as an Ajax proxy. When the proxy is synchronous, such as a Ext.data.proxy.Memory memory proxy, this defaults to false. More...
 
virtual bool AutoLoad [get, set]
 If data is not specified, and if autoLoad is true or an Object, this store's load method is automatically called after creation. If the value of autoLoad is an Object, this Object will be passed to the store's load method. Defaults to false. More...
 
ParameterCollection AutoLoadParams [get]
 An object containing properties which are to be sent as parameters on auto load HTTP request. More...
 
virtual int PageSize [get, set]
 The number of records considered to form a 'page'. This is used to power the built-in paging using the nextPage and previousPage functions when the grid is paged using a PagingToolbar. To disable paging, set the pageSize to 0. Defaults to 25. More...
 
StoreParameterCollection Parameters [get]
 An object containing properties which are to be sent as parameters on any HTTP request. More...
 
StoreParameterCollection SyncParameters [get]
 An object containing properties which are to be sent as parameters on sync request. More...
 
virtual bool AutoSync [get, set]
 True to automatically sync the Store with its Proxy after every edit to one of its Records. Defaults to false. More...
 
ProxyCollection Proxy [get]
 The Proxy to use for this Store. More...
 
virtual ? bool ReloadOnClearSorters [get, set]
 Set this to true to trigger a reload when the last sorter is removed (only applicable when remoteSort is true). More...
 
virtual bool RemoteFilter [get, set]
 True to defer any filtering operation to the server. If false, filtering is done locally on the client. Defaults to false. More...
 
virtual bool RemoteSort [get, set]
 True to defer any sorting operation to the server. If false, sorting is done locally on the client. Defaults to false. More...
 
virtual string SyncUrl [get, set]
 
ProxyCollection ServerProxy [get]
 The Proxy to use for this Store. More...
 
virtual BatchUpdateMode BatchUpdateMode [get, set]
 Sets the updating behavior based on batch synchronization. More...
 
virtual bool ClearOnPageLoad [get, set]
 True to empty the store when loading another page via loadPage, nextPage or previousPage (defaults to true). Setting to false keeps existing records, allowing large data sets to be loaded one page at a time but rendered all together. More...
 
virtual bool ClearRemovedOnLoad [get, set]
 True to clear anything in the removed record collection when the store loads. More...
 
virtual bool FilterOnLoad [get, set]
 If true, any filters attached to this Store will be run after loading data, before the datachanged event is fired. Defaults to true, ignored if remoteFilter is true More...
 
DataFilterCollection Filters [get]
 The collection of Filters currently applied to this Store More...
 
virtual SortDirection GroupDir [get, set]
 The direction in which sorting should be applied when grouping. Defaults to "ASC" - the other supported value is "DESC" More...
 
virtual string GroupField [get, set]
 The (optional) field by which to group data in the store. Internally, grouping is very similar to sorting - the groupField and groupDir are injected as the first sorter (see sort). Stores support a single level of grouping, and groups can be fetched via the getGroups method. More...
 
DataGrouper Grouper [get]
 
virtual bool SortOnLoad [get, set]
 If true, any sorters attached to this Store will be run after loading data, before the datachanged event is fired. Defaults to true, igored if remoteSort is true More...
 
virtual string SortRoot [get, set]
 The field name by which to sort the store's data (defaults to ''). More...
 
DataSorterCollection Sorters [get]
 The collection of Sorters currently applied to this Store More...
 
virtual bool ShowWarningOnFailure [get, set]
 Show a Window with error message is DirectEvent request fails. More...
 
virtual bool StatefulFilters [get, set]
 Configure as true to have the filters saved when a client grid saves its state. Defaults to: false More...
 
virtual string ModelName [get, set]
 The Ext.data.Model associated with this store More...
 
ModelCollection Model [get]
 
ModelFieldCollection Fields [get]
 An array of fields definition objects More...
 
- Properties inherited from Ext.Net.Observable.Config
ConfigItemCollection CustomConfig [get]
 Collection of custom js config More...
 
MessageBusListeners MessageBusListeners [get]
 
MessageBusDirectEvents MessageBusDirectEvents [get]
 
- Properties inherited from Ext.Net.BaseControl.Config
virtual string ItemID [get, set]
 An itemId can be used as an alternative way to get a reference to a component when no object reference is available. More...
 
virtual bool Disabled [get, set]
 
virtual short TabIndex [get, set]
 
virtual bool IsInForm [get, set]
 
virtual Unit Height [get, set]
 
virtual Unit Width [get, set]
 
virtual string ToolTip [get, set]
 
virtual bool RegisterAllResources [get, set]
 
virtual bool AutoDataBind [get, set]
 
virtual IDMode IDMode [get, set]
 
virtual LazyMode LazyMode [get, set]
 
virtual string Namespace [get, set]
 
List< ClientResourceItemResourceItems [get]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseControl.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string ToScript ()
 
- Static Public Member Functions inherited from Ext.Net.BaseControl.Config
static Config ToConfig (string config)
 
static TConfig ToConfig< TConfig > (string config)
 

Detailed Description

Property Documentation

◆ AsynchronousLoad

virtual ? bool Ext.Net.AbstractStore.Config.AsynchronousLoad
getset

This defaults to true when this store's proxy is asynchronous, such as an Ajax proxy. When the proxy is synchronous, such as a Ext.data.proxy.Memory memory proxy, this defaults to false.

◆ AutoDestroy

virtual bool Ext.Net.AbstractStore.Config.AutoDestroy
getset

true to destroy the store when the component the store is bound to is destroyed (defaults to true). Note: this should be set to true when using stores that are bound to only 1 component and this should be set to false for a store which is associated to a few components.

◆ AutoLoad

virtual bool Ext.Net.AbstractStore.Config.AutoLoad
getset

If data is not specified, and if autoLoad is true or an Object, this store's load method is automatically called after creation. If the value of autoLoad is an Object, this Object will be passed to the store's load method. Defaults to false.

◆ AutoLoadParams

ParameterCollection Ext.Net.AbstractStore.Config.AutoLoadParams
get

An object containing properties which are to be sent as parameters on auto load HTTP request.

◆ AutoSync

virtual bool Ext.Net.AbstractStore.Config.AutoSync
getset

True to automatically sync the Store with its Proxy after every edit to one of its Records. Defaults to false.

◆ BatchUpdateMode

virtual BatchUpdateMode Ext.Net.AbstractStore.Config.BatchUpdateMode
getset

Sets the updating behavior based on batch synchronization.

◆ ClearOnPageLoad

virtual bool Ext.Net.AbstractStore.Config.ClearOnPageLoad
getset

True to empty the store when loading another page via loadPage, nextPage or previousPage (defaults to true). Setting to false keeps existing records, allowing large data sets to be loaded one page at a time but rendered all together.

◆ ClearRemovedOnLoad

virtual bool Ext.Net.AbstractStore.Config.ClearRemovedOnLoad
getset

True to clear anything in the removed record collection when the store loads.

◆ Fields

ModelFieldCollection Ext.Net.AbstractStore.Config.Fields
get

An array of fields definition objects

◆ FilterOnLoad

virtual bool Ext.Net.AbstractStore.Config.FilterOnLoad
getset

If true, any filters attached to this Store will be run after loading data, before the datachanged event is fired. Defaults to true, ignored if remoteFilter is true

◆ Filters

DataFilterCollection Ext.Net.AbstractStore.Config.Filters
get

The collection of Filters currently applied to this Store

◆ GroupDir

virtual SortDirection Ext.Net.AbstractStore.Config.GroupDir
getset

The direction in which sorting should be applied when grouping. Defaults to "ASC" - the other supported value is "DESC"

◆ Grouper

DataGrouper Ext.Net.AbstractStore.Config.Grouper
get

◆ GroupField

virtual string Ext.Net.AbstractStore.Config.GroupField
getset

The (optional) field by which to group data in the store. Internally, grouping is very similar to sorting - the groupField and groupDir are injected as the first sorter (see sort). Stores support a single level of grouping, and groups can be fetched via the getGroups method.

◆ Model

ModelCollection Ext.Net.AbstractStore.Config.Model
get

◆ ModelName

virtual string Ext.Net.AbstractStore.Config.ModelName
getset

The Ext.data.Model associated with this store

◆ PageSize

virtual int Ext.Net.AbstractStore.Config.PageSize
getset

The number of records considered to form a 'page'. This is used to power the built-in paging using the nextPage and previousPage functions when the grid is paged using a PagingToolbar. To disable paging, set the pageSize to 0. Defaults to 25.

◆ Parameters

StoreParameterCollection Ext.Net.AbstractStore.Config.Parameters
get

An object containing properties which are to be sent as parameters on any HTTP request.

◆ Proxy

ProxyCollection Ext.Net.AbstractStore.Config.Proxy
get

The Proxy to use for this Store.

◆ ReloadOnClearSorters

virtual ? bool Ext.Net.AbstractStore.Config.ReloadOnClearSorters
getset

Set this to true to trigger a reload when the last sorter is removed (only applicable when remoteSort is true).

◆ RemoteFilter

virtual bool Ext.Net.AbstractStore.Config.RemoteFilter
getset

True to defer any filtering operation to the server. If false, filtering is done locally on the client. Defaults to false.

◆ RemoteSort

virtual bool Ext.Net.AbstractStore.Config.RemoteSort
getset

True to defer any sorting operation to the server. If false, sorting is done locally on the client. Defaults to false.

◆ ServerProxy

ProxyCollection Ext.Net.AbstractStore.Config.ServerProxy
get

The Proxy to use for this Store.

◆ ShowWarningOnFailure

virtual bool Ext.Net.AbstractStore.Config.ShowWarningOnFailure
getset

Show a Window with error message is DirectEvent request fails.

◆ Sorters

DataSorterCollection Ext.Net.AbstractStore.Config.Sorters
get

The collection of Sorters currently applied to this Store

◆ SortOnLoad

virtual bool Ext.Net.AbstractStore.Config.SortOnLoad
getset

If true, any sorters attached to this Store will be run after loading data, before the datachanged event is fired. Defaults to true, igored if remoteSort is true

◆ SortRoot

virtual string Ext.Net.AbstractStore.Config.SortRoot
getset

The field name by which to sort the store's data (defaults to '').

◆ StatefulFilters

virtual bool Ext.Net.AbstractStore.Config.StatefulFilters
getset

Configure as true to have the filters saved when a client grid saves its state. Defaults to: false

◆ SyncParameters

StoreParameterCollection Ext.Net.AbstractStore.Config.SyncParameters
get

An object containing properties which are to be sent as parameters on sync request.

◆ SyncUrl

virtual string Ext.Net.AbstractStore.Config.SyncUrl
getset


The documentation for this class was generated from the following file: