menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridSearchOptionBuilder

    Show / Hide Table of Contents

    Class TreeGridSearchOptionBuilder

    Inheritance
    System.Object
    TreeGridSearchOptionBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class TreeGridSearchOptionBuilder

    Constructors

    TreeGridSearchOptionBuilder(TreeGridSearchSettings)

    Initializes a new instance of the class.

    Declaration
    public TreeGridSearchOptionBuilder(TreeGridSearchSettings search)
    Parameters
    Type Name Description
    TreeGridSearchSettings search

    It displays the list of TreeGridSearchSettings option

    Methods

    Fields(Action<TreeGridSearchFieldsBuilder>)

    This specify the grid to search for the value in particular columns that is mentioned in the field.

    Declaration
    public TreeGridSearchOptionBuilder Fields(Action<TreeGridSearchFieldsBuilder> searchFields)
    Parameters
    Type Name Description
    System.Action<TreeGridSearchFieldsBuilder> searchFields

    It displays the list of TreeGridSearchSettings option through lambda expression

    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    Fields(List<String>)

    This specify the grid to search for the value in particular columns that is mentioned in the field.

    Declaration
    public TreeGridSearchOptionBuilder Fields(List<string> searchFields)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.String> searchFields

    It displays the list of TreeGridSearchSettings option

    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    IgnoreCase()

    It enables or disables case-sensitivity while searching the search key in grid.

    Declaration
    public TreeGridSearchOptionBuilder IgnoreCase()
    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    IgnoreCase(Boolean)

    It enables or disables case-sensitivity while searching the search key in grid.

    Declaration
    public TreeGridSearchOptionBuilder IgnoreCase(bool ignoreCase)
    Parameters
    Type Name Description
    System.Boolean ignoreCase

    It accepts the boolean value and enables or disables the case-sensitivity

    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    Key(String)

    This specifies the grid to search the particular data that is mentioned in the key.

    Declaration
    public TreeGridSearchOptionBuilder Key(string searchKey)
    Parameters
    Type Name Description
    System.String searchKey

    It accepts the string value and search the data based on the key

    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    Operator(TreeGridSearchOperator)

    It specifies the grid to search the records based on operator.

    Declaration
    public TreeGridSearchOptionBuilder Operator(TreeGridSearchOperator operator)
    Parameters
    Type Name Description
    TreeGridSearchOperator operator

    It displays the list of TreeGridSearchSettings enum type operators

    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    SearchFields(Action<TreeGridSearchFieldsBuilder>)

    Declaration
    [Obsolete("SearchFields property has been deprecated.")]
    public TreeGridSearchOptionBuilder SearchFields(Action<TreeGridSearchFieldsBuilder> searchFields)
    Parameters
    Type Name Description
    System.Action<TreeGridSearchFieldsBuilder> searchFields
    Returns
    Type Description
    TreeGridSearchOptionBuilder

    SearchFields(List<String>)

    Declaration
    [Obsolete("SearchFields property has been deprecated.")]
    public TreeGridSearchOptionBuilder SearchFields(List<string> searchFields)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.String> searchFields
    Returns
    Type Description
    TreeGridSearchOptionBuilder

    SearchHierarchyMode(TreeGridSearchHierarchyMode)

    This specifies the TreeGrid to search the particular data based on hierarchy mode.

    Declaration
    public TreeGridSearchOptionBuilder SearchHierarchyMode(TreeGridSearchHierarchyMode searchHierarchyMode)
    Parameters
    Type Name Description
    TreeGridSearchHierarchyMode searchHierarchyMode

    It displays the list of TreeGridSearchHierarchyMode enum type

    Returns
    Type Description
    TreeGridSearchOptionBuilder

    TreeGridSearchOptionBuilder

    SearchKey(String)

    Declaration
    [Obsolete("SearchKey property has been deprecated.")]
    public TreeGridSearchOptionBuilder SearchKey(string searchKey)
    Parameters
    Type Name Description
    System.String searchKey
    Returns
    Type Description
    TreeGridSearchOptionBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved