color dgrid cell based on cell value
问题 I've got a dgrid and I'm trying to set the cell background color based on the value of the cell using a formatter function and css. The dgrid is located within a div with ID UnMarkedTicketGridDiv formatter function: formatPriority: function (item) { return = "<td class='" + item + "'>" + item + "</td>"; }, css: #UnMarkedTicketGridDiv td.NORM { background-color:Green; color:Green; } Any idea why the cells arent getting colored green? I've verified the formatter function is being called, and