Hi Team,
In kendo grid jquery I have added data to a data Source in JSON format. In this format, there is a property in the JSON. If that property is true, I want to change the color of the row. Is it possible to set a different color?
gridData = @Html.Raw(ViewData["DataDetailsJson"]);
var dataSource = new kendo.data.Data Source({
data: gridData,
batch: true,
autoSync: true,
schema: {
model: {
id: "uid",
fields: {
id: { hidden: true },
Project: { editable: false },
User: { editable: false },
Status: { editable: false },
},
},
},
});
In kendo grid jquery I have added data to a data Source in JSON format. In this format, there is a property in the JSON. If that property is true, I want to change the color of the row. Is it possible to set a different color?
gridData = @Html.Raw(ViewData["DataDetailsJson"]);
var dataSource = new kendo.data.Data Source({
data: gridData,
batch: true,
autoSync: true,
schema: {
model: {
id: "uid",
fields: {
id: { hidden: true },
Project: { editable: false },
User: { editable: false },
Status: { editable: false },
},
},
},
});