Reputation: 6983
I have a grid with a checkcolumn. I want to be able to change the style of a given row of checkbox on that row is checked.
Right now I have this:
listeners: {
checkchange: function (checkcolumn, rowIndex, checked) {
if (checked) {
}
}
}
But I don't know what to put inside the conditional that will give me an object with a method that allows me to change the style.
Upvotes: 2
Views: 507
Reputation: 30092
Override the getRowClass method. When the checkbox changes, the row will update in the DOM which will trigger this method.
Upvotes: 4