Unplanned
Last Updated: 13 Aug 2021 10:23 by ADMIN
Andy F.
Created on: 07 Aug 2021 15:11
Category: Grid
Type: Feature Request
1
Add attributes property to column.command object that works like column.attributes, except the attributes are put on the button that gets created for the command

I know I can do it from the dataBound event, but... that seems like a kludge compared to just re-using the existing attributes property code on other objects.

 

Instead of this:

 

dataBound: {

   $(".k-grid-edit").attr("title", "View/Edit");

}

 

this:

command: [{ name: "edit", text: "", click: ShowDetails, attributes: {title: "View/Edit"} }], title: "", width: 40

0 comments