Class TreeGridSearchSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
TreeGridSearchSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridSearchSettingsBuilder : ControlBuilder
Constructors
TreeGridSearchSettingsBuilder()
Declaration
public TreeGridSearchSettingsBuilder()
TreeGridSearchSettingsBuilder(TreeGridSearchSettings)
Declaration
public TreeGridSearchSettingsBuilder(TreeGridSearchSettings model)
Parameters
Methods
Fields(String[])
Specifies the columns to be searched upon the initial rendering of the TreeGrid.
You can also retrieve the list of columns that are currently searched.
Declaration
public TreeGridSearchSettingsBuilder Fields(string[] value)
Parameters
Type |
Name |
Description |
System.String[] |
value |
|
Returns
HierarchyMode(FilterHierarchyMode)
Defines the search hierarchy modes dictating which parts of the tree should be included in search results.
The available options are:
Parent
: Shows the searched record along with its parent record.
Child
: Shows the searched record along with its child record.
Both
: Shows the searched record with both its parent and child records.
None
: Shows only the searched record.
Declaration
public TreeGridSearchSettingsBuilder HierarchyMode(FilterHierarchyMode value)
Parameters
Returns
IgnoreCase(Boolean)
When set to true, the search operation ignores case sensitivity,
including diacritic characters or accents while filtering.
Declaration
public TreeGridSearchSettingsBuilder IgnoreCase(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns
Key(String)
A keyword used for searching within the TreeGrid content.
Declaration
public TreeGridSearchSettingsBuilder Key(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Operator(String)
Defines the operator to search records. The available operators are:
Declaration
public TreeGridSearchSettingsBuilder Operator(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns