Hello,
If I give both rowTemplate and detailTemplate, the columns are pulling to the left making the expand collapse button invisible.
I want textbox in rowTemplate. How can I use both without any errors. Here is my code
function BindGrid(dataSource) {
$("#grid").kendoGrid({
dataSource: dataSource,
pageable: false,
scrollable: false,
detailTemplate: kendo.template($("#template").html()),
detailInit: detailInit,
dataBound: function () {
this.expandRow(this.tbody.find("tr.k-master-row").first());
},
columns: [
{ field: "Id", hidden: true },
{ field: "Name", title: "Name" },
{ field: "Read", title: "Read" }
]
});
}
If I give both rowTemplate and detailTemplate, the columns are pulling to the left making the expand collapse button invisible.
I want textbox in rowTemplate. How can I use both without any errors. Here is my code
function BindGrid(dataSource) {
$("#grid").kendoGrid({
dataSource: dataSource,
pageable: false,
scrollable: false,
detailTemplate: kendo.template($("#template").html()),
detailInit: detailInit,
dataBound: function () {
this.expandRow(this.tbody.find("tr.k-master-row").first());
},
columns: [
{ field: "Id", hidden: true },
{ field: "Name", title: "Name" },
{ field: "Read", title: "Read" }
]
});
}