GridColumnCommandTagHelper

Example

Razor
<column-command>
</column-command>

Attributes

AttributeTypeDescription
nameStringThe name of the command. The built-in commands are "edit" and "destroy". Can be set to a custom value.
class-nameString
clickStringThe name of the JavaScript function executed when the user clicks the command button. The function receives a jQuery Event as an argument. The function context (available via the this keyword) will be set to the grid instance.
html-attributesObjectSpecifies the Html Attributes for the command.
html-attributes-handlerStringSpecifies the function handler that will serialize the HTML attributes for the command.
icon-classStringThe class for the web font icon of the button.
templateStringThe template of the command column.
template-handlerStringSpecifies the function template handler that will be used for serializing the column.
template-idStringThe template of the command column.
template-viewIHtmlContentThe template of the command column.
textStringSpecifies the Text that will be displayed for the command button.
visibleStringThe name of the JavaScript function executed on initialization of the row which will determine whether the command button will be visible. The function receives a the data item object for the row as an argument.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support