Class GridDynamicFilter
A filtering utility that allows the user to view the filter results for each and every character that is being typed.
Inheritance
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridDynamicFilter
Constructors
GridDynamicFilter()
Initializes a new instance of the GridDynamicFilter class.
Declaration
public GridDynamicFilter()
Properties
AllowIndividualColumnWiring
Gets or sets a value indicating whether desired filter should be applied for specified column,if the value is set to True, through which the filter can be set in column using this.gridGroupingControl1.TableDescriptor.Columns[ColumnName].Appearance.FilterBarCell.CellType = "DynamicFilterCell"
Declaration
public bool AllowIndividualColumnWiring { get; set; }
Property Value
Type |
---|
System.Boolean |
ApplyFilterOnlyOnCellLostFocus
Gets or sets a value indicating whether filtering has to be applied on each key stroke. Default value is false, it allows filtering on each key stroke. If it is set to 'true', the filtering is done only when the filter cell lost focus(including Enter,Arrow keys,Tab keys).
Declaration
public bool ApplyFilterOnlyOnCellLostFocus { get; set; }
Property Value
Type |
---|
System.Boolean |
FilterDelay
Gets or sets the value that indicates the time (milliseconds) delay to filter the grid while typing in filter bar. Default value is Zero.
Declaration
public int FilterDelay { get; set; }
Property Value
Type |
---|
System.Int32 |
OperatorStoreDirectory
Declaration
public string OperatorStoreDirectory { get; set; }
Property Value
Type |
---|
System.String |
Methods
LoadCompareOperator()
Declaration
[Obsolete("Use the LoadCompareOperatorStream instead.")]
public void LoadCompareOperator()
LoadCompareOperatorStream(MemoryStream)
Loads the saved compare operator state from memory stream.
Declaration
public void LoadCompareOperatorStream(MemoryStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | stream | Serialized compare Oprators are carried in this stream. |
Remarks
Deserialize the serialized
SaveCompareOperator()
Declaration
[Obsolete("Use the SaveCompareOperatorOperatorStream instead.")]
public void SaveCompareOperator()
SaveCompareOperatorStream()
Save the compare operators for serialization.
Declaration
public MemoryStream SaveCompareOperatorStream()
Returns
Type | Description |
---|---|
System.IO.MemoryStream | Serialized memory stream. |
UnWireGrid(GridGroupingControl)
void filterBarExtCell_ShowingCustomFilterDialog the grouping grid from the dynamic filter.
Declaration
public void UnWireGrid(GridGroupingControl groupingGrid)
Parameters
Type | Name | Description |
---|---|---|
GridGroupingControl | groupingGrid | The grouping grid. |
WireGrid(GridGroupingControl)
Hooks up the grouping grid with the dynamic filter.
Declaration
public void WireGrid(GridGroupingControl groupingGrid)
Parameters
Type | Name | Description |
---|---|---|
GridGroupingControl | groupingGrid | The grouping grid. |
Events
ShowingCustomFilterDialog
Occurs immediately before the RecordFilterCollectionEditor Dialog is displayed. The ControlEventArgs.Control the form.
Declaration
public event ControlEventHandler ShowingCustomFilterDialog
Event Type
Type |
---|
System.Windows.Forms.ControlEventHandler |