PDA

View Full Version : How to set the style to modified records in grid



dineshv87
6 Jan 2011, 5:22 AM
In my gxt grid a if cell is modified I have to change the style for that cell. Once changes in store is committed I have to remove that style. I think gxt supports that. How to achive in my application. I am using overridden LiveGridView for edit support. Can anyone help me to achieve this functionality? Is there any method in grid which does that? My requirement is exactly similar to the below example link

http://www.sencha.com/examples/#editablegrid

Thanks

sven
6 Jan 2011, 1:25 PM
When a cell is dirty (edited) it already gets a css rule assigned to it ( x-grid3-dirty-cell). You should be able to use that one.