menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CommandsBuilder<T>

    Show / Hide Table of Contents

    Class CommandsBuilder<T>

    Inheritance
    System.Object
    CommandsBuilder<T>
    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 CommandsBuilder<T>
        where T : class
    Type Parameters
    Name Description
    T

    Constructors

    CommandsBuilder(Column, List<Commands>)

    Initializes a new instance of the CommandsBuilder<T> class.

    Declaration
    public CommandsBuilder(Column column, List<Commands> command)
    Parameters
    Type Name Description
    Column column

    It displays the list of columns in the grid

    System.Collections.Generic.List<Commands> command

    It accepts the list of command columns specified in the grid

    Methods

    Add()

    It adds the command column into the columns.

    Declaration
    public void Add()

    ButtonOptions(ButtonProperties)

    It sets an object that indicates to define all the button options which are available in ejButton.

    Declaration
    public CommandsBuilder<T> ButtonOptions(ButtonProperties button)
    Parameters
    Type Name Description
    ButtonProperties button

    It displays all button options in Button

    Returns
    Type Description
    CommandsBuilder<T>

    CommandsBuilder

    Type(UnboundType)

    It sets a value that indicates to add the command column button.

    Declaration
    public CommandsBuilder<T> Type(UnboundType type)
    Parameters
    Type Name Description
    UnboundType type

    It displays the list of UnboundType options

    Returns
    Type Description
    CommandsBuilder<T>

    CommandsBuilder

    Type(String)

    It sets a value that indicates to add the command column button.

    Declaration
    public CommandsBuilder<T> Type(string type)
    Parameters
    Type Name Description
    System.String type

    It accepts the string value and displays the list of UnboundType options

    Returns
    Type Description
    CommandsBuilder<T>

    CommandsBuilder

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved