Class TreeGridSearchSettings
Inheritance
Namespace: Syncfusion.EJ2.TreeGrid
Assembly: Syncfusion.EJ2.dll
Syntax
public class TreeGridSearchSettings : EJTagHelper
Constructors
TreeGridSearchSettings()
Declaration
public TreeGridSearchSettings()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Fields
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 string[] Fields { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The default value is null |
HierarchyMode
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 FilterHierarchyMode HierarchyMode { get; set; }
Property Value
Type | Description |
---|---|
FilterHierarchyMode | The default value is FilterHierarchyMode.Parent |
IgnoreCase
When set to true, the search operation ignores case sensitivity, including diacritic characters or accents while filtering.
Declaration
public bool IgnoreCase { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Key
A keyword used for searching within the TreeGrid content.
Declaration
public string Key { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Operator
Defines the operator to search records. The available operators are:
Declaration
public string Operator { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "contains" |