我有一個Kendo Grid,它的值根據post調用填充。如果其中一列的值爲「REGISTERED」,我需要灰化整行。Kendo Grid中的一行顏色
有沒有辦法可以做到這一點?
這裏是我的代碼:
$("#grid").kendoGrid({
columns: [
{ field: "name", title: "Release Name" },
{ field: "number", title: "Number" },
{ field: "status", title: "Registration Status" }
],
dataSource: [
{ name: "Jane Doe", number: "50", status: "REGISTERED" },
{ name: "John Doe", number: "60", status: "NOT REGISTERED" }
]
});
見http://daveaglick.com/posts/simple-row柔性網格着色 –
完美。它運行良好。非常感謝。 – Sri