-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
C: GridCSP ImprovementsEnhancementFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemFP: In DevelopmentSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)S: Wrappers (ASP.NET MVC)
Milestone
Description
Related to: #7872
Overview
As part of the enhancement above, it would be beneficial to expose an additional string overload for accepting a function handler. Both within a Custom Command and through built-in ones.
For example:
HtmlHelper:
@(Html.Kendo().Grid<GridModel>()
.Name("grid")
.Columns(columns =>
{
...
columns.Command(command => {
command.Edit().HtmlAttributes("editAttributesHandler");
command.Custom().HtmlAttributes("customAttributesHandler");
});
})
...
)
TagHelper:
<kendo-grid name="grid" height="550">
<columns>
<column>
<commands>
<column-command name="Some Text" html-attributes-handler="myHandler">
</column-command>
</commands>
</column>
</columns>
</kendo-grid>
Environment
- Kendo UI version: 2024.2.514
- Browser: [all]
Metadata
Metadata
Assignees
Labels
C: GridCSP ImprovementsEnhancementFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemFP: In DevelopmentSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)S: Wrappers (ASP.NET MVC)