Class GridTableFilterBarGridListCellModelExt
Implements the data model or cell model for filterbar cell for paging.
Inheritance
System.Object
GridTableFilterBarGridListCellModelExt
Implements
System.Runtime.Serialization.ISerializable
System.IDisposable
Inherited Members
GridCellModelBase.CalculatePreferredCellSize(Graphics, Int32, Int32, GridStyleInfo, GridQueryBounds)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridTableFilterBarGridListCellModelExt : GridTableFilterBarGridListCellModel, ISerializable, IDisposable
Remarks
This helps to apply filtering across all records in every page.
Constructors
GridTableFilterBarGridListCellModelExt(GridModel, Engine)
Initializes a new instance of the GridTableFilterBarGridListCellModelExt class.
Declaration
public GridTableFilterBarGridListCellModelExt(GridModel grid, Engine engine)
Parameters
Type | Name | Description |
---|---|---|
GridModel | grid | The Grid Model. |
Engine | engine | The Engine. |
Methods
Apply()
Applies the filter to the Engine.
Declaration
public void Apply()
GetFilterBarChoices(GridTableCellStyleInfoIdentity)
An overridden method that gets called when the filter dropdown is opened.
Declaration
public override object[] GetFilterBarChoices(GridTableCellStyleInfoIdentity tableCellIdentity)
Parameters
Type | Name | Description |
---|---|---|
GridTableCellStyleInfoIdentity | tableCellIdentity | StyleInfoIdentity |
Returns
Type | Description |
---|---|
System.Object[] | Set of filter items. |
Overrides
SelectAll()
Applies (All) type filtering to the column.
Declaration
public void SelectAll()
Remarks
Resets the filter applied to that column.
SelectItem(Int32)
Applies specific item filtering to the column.
Declaration
public void SelectItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Selected index |
Implements
System.Runtime.Serialization.ISerializable
System.IDisposable