Skip to main content

DataGridColumnButtonBuilder Methods

Represents a DataGrid column button.
Name Description
CssClass(JS) Specifies a CSS class to be applied to the button. Mirrors the client-side cssClass option.
CssClass(String) Specifies a CSS class to be applied to the button. Mirrors the client-side cssClass option.
Disabled(JS)
Disabled(Boolean)
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Hint(JS) Specifies the text for the hint that appears when the button is hovered over or long-pressed. Mirrors the client-side hint option.
Hint(String) Specifies the text for the hint that appears when the button is hovered over or long-pressed. Mirrors the client-side hint option.
Icon(JS) Specifies the button's icon. Mirrors the client-side icon option.
Icon(String) Specifies the button's icon. Mirrors the client-side icon option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Name(GridColumnButtonName) The name used to identify a built-in button. Mirrors the client-side name option.
Name(JS) The name used to identify a built-in button. Mirrors the client-side name option.
Name(String) The name used to identify a built-in button. Mirrors the client-side name option.
OnClick(RazorBlock) A function that is executed when the button is clicked or tapped. Mirrors the client-side onClick option.
OnClick(String) A function that is executed when the button is clicked or tapped. Mirrors the client-side onClick option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Template(JS) Specifies the client-side template.
Template(RazorBlock) Specifies the client-side template.
Template(TemplateName) Specifies the client-side template.
Template(String) Specifies the client-side template.
Text(JS) Specifies the button's text. Applies only if the button's icon is not specified. Mirrors the client-side text option.
Text(String) Specifies the button's text. Applies only if the button's icon is not specified. Mirrors the client-side text option.
ToString() Returns a string that represents the current object. Inherited from Object.
Visible(JS) Specifies the button's visibility. Mirrors the client-side visible option.
Visible(Boolean) Specifies the button's visibility. Mirrors the client-side visible option.
See Also