menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridSearchSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridSearchSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    TreeGridSearchSettingsBuilder
    Namespace: Syncfusion.EJ2.TreeGrid
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeGridSearchSettingsBuilder : ControlBuilder

    Constructors

    TreeGridSearchSettingsBuilder()

    Declaration
    public TreeGridSearchSettingsBuilder()

    TreeGridSearchSettingsBuilder(TreeGridSearchSettings)

    Declaration
    public TreeGridSearchSettingsBuilder(TreeGridSearchSettings model)
    Parameters
    Type Name Description
    TreeGridSearchSettings model

    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
    Type
    TreeGridSearchSettingsBuilder

    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
    Type Name Description
    FilterHierarchyMode value
    Returns
    Type
    TreeGridSearchSettingsBuilder

    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
    Type
    TreeGridSearchSettingsBuilder

    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
    Type
    TreeGridSearchSettingsBuilder

    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
    Type
    TreeGridSearchSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved