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

More...

Inheritance diagram for Ext.Net.DataSorter.Config:
Ext.Net.BaseItem.Config Ext.Net.IApply Ext.Net.DataGrouper.Config

Static Public Member Functions

static implicit operator DataSorter.Builder (DataSorter.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Config
static Config Deserialize (string config)
 
static TConfig Deserialize< TConfig > (string config)
 

Properties

virtual SortDirection Direction [get, set]
 The direction to sort by. Defaults to ASC More...
 
virtual string ID [get, set]
 An optional id this sorter can be keyed by in Collections. If no id is specified it will use the property name used in this Sorter. If no property is specified, e.g. when adding a custom sorter function we will generate a random id. More...
 
virtual string Property [get, set]
 The property to sort by. Required unless sorterFn is provided More...
 
virtual string Root [get, set]
 Optional root property. This is mostly useful when sorting a Store, in which case we set the root to 'data' to make the filter pull the property out of the data object of each item More...
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem.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 Serialize ()
 

Detailed Description

Member Function Documentation

◆ operator DataSorter.Builder()

static implicit Ext.Net.DataSorter.Config.operator DataSorter.Builder ( DataSorter.Config  config)
inlinestatic

Property Documentation

◆ Direction

virtual SortDirection Ext.Net.DataSorter.Config.Direction
getset

The direction to sort by. Defaults to ASC

◆ ID

virtual string Ext.Net.DataSorter.Config.ID
getset

An optional id this sorter can be keyed by in Collections. If no id is specified it will use the property name used in this Sorter. If no property is specified, e.g. when adding a custom sorter function we will generate a random id.

◆ Property

virtual string Ext.Net.DataSorter.Config.Property
getset

The property to sort by. Required unless sorterFn is provided

◆ Root

virtual string Ext.Net.DataSorter.Config.Root
getset

Optional root property. This is mostly useful when sorting a Store, in which case we set the root to 'data' to make the filter pull the property out of the data object of each item


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