Hello,
I have a grid that is dynamically filled with data that I do not know the name and I want to add a command column to this grid but it seems that I need to define the colums before this command column like this :
But I can't because as I said I don't know the names of my columns ... How can I do this ?
Thanks.
I have a grid that is dynamically filled with data that I do not know the name and I want to add a command column to this grid but it seems that I need to define the colums before this command column like this :
$("#grid").kendoGrid({ columns: [ { field: "name" }, { command: [{ className: "btn-destroy", name: "destroy", text: "Remove" }] } ], editable: true, dataSource: [ { name: "Jane Doe" } ]});Thanks.