31 Dec 2009 7:21 AM #1
Changing color of a row in a grid
I need to change the color of a selected row in a grid on click of a button in the row. Again on the next click of the button the color should change back to old color when it was rendered. Any suggesstion or help regarding the same would be helpful. Please reply as soon as possible.
4 Jan 2010 9:33 AM #2
one way is to maintain a model data variable for each row and you can use setrowStyle in gridViewconfig to color the complete row, based on that model data variable
4 Jan 2010 9:40 AM #3
can you explain more the use case of this?
did you mean with the click of the button also the selection should change?This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041