How to add class to a cell depending on the value of another cell in ext js grid
This is what i want to try , i want to highlight a cell according to the value of another column in the same row. I know that the renderer function can style the column on render, but is it possible to access anot开发者_如何转开发her column ?
Renderer has set of parameters. The third parameter is record.
renderer: function(value, metaData, record){
var anotherColumnValue = record.get('anotherColumnDataIndex');
// ...
}
精彩评论