Class GridFilterSettings
Inheritance
System.Object
GridFilterSettings
Assembly: Syncfusion.EJ2.dll
Syntax
public class GridFilterSettings : EJTagHelper
Constructors
GridFilterSettings()
Declaration
public GridFilterSettings()
Properties
Columns
Specifies the columns to be filtered at initial rendering of the Grid. You can also get the columns that were currently filtered.
Declaration
public object Columns { get; set; }
Property Value
Type |
Description |
System.Object |
|
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
EnableCaseSensitivity
If enableCaseSensitivity
is set to true then searches grid records with exact match based on the filter
operator. It will have no effect on number, boolean and Date fields.
Declaration
public bool EnableCaseSensitivity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IgnoreAccent
If ignoreAccent set to true, then filter ignores the diacritic characters or accents while filtering.
Declaration
public bool IgnoreAccent { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Defines the time delay (in milliseconds) in filtering records when the Immediate
mode of filter bar is set.
Declaration
public double ImmediateModeDelay { get; set; }
Property Value
Type |
Description |
System.Double |
|
IsComplex
Declaration
protected override bool IsComplex { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Mode
Defines the filter bar modes. The available options are,
OnEnter
: Initiates filter operation after Enter key is pressed.
Immediate
: Initiates filter operation after a certain time interval. By default, time interval is 1500 ms.
Declaration
public FilterBarMode Mode { get; set; }
Property Value
Operators
The operators
is used to override the default operators in filter menu. This should be defined by type wise
(string, number, date and boolean). Based on the column type, this customize operator list will render in filter menu.
Declaration
public object Operators { get; set; }
Property Value
Type |
Description |
System.Object |
|
ParentPropertyName
Declaration
protected override string ParentPropertyName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ShowFilterBarOperator
If 'showFilterBarOperator' is set to true, then it renders the dropdownlist component to select the operator in filterbar input.
Declaration
public bool ShowFilterBarOperator { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ShowFilterBarStatus
Shows or hides the filtered status message on the pager.
Declaration
public bool ShowFilterBarStatus { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Type
Defines options for filtering type. The available options are
Menu
- Specifies the filter type as menu.
CheckBox
- Specifies the filter type as checkbox.
FilterBar
- Specifies the filter type as filterbar.
Excel
- Specifies the filter type as checkbox.
Declaration
public FilterType Type { get; set; }
Property Value