View Full Version : change GridPanel cell styles

9 Apr 2010, 2:44 AM

I've got a GridPanel (local Json store) and I want to add a checkbox for highlighting the latest updated cells.

A sample store would be sth like this:

"content":"Test content.",
This means the columns "title" and "content" of the grid row containing the dataset with id:1 were changed at last update.

So what do I have to do to highlight the two cells on checking a checkbox and to "unhighlight" them on unchecking the checkbox.

My problem is not the checkbox but the technique to highlight the cells.


I thought about iterating through the grids store and check about the "_latestupdated" array to highlight cell or not.
But how can I Access the cell with the record and the fieldname.
I don't know where to look for.
Isn't it possible to access the view element from for example record = "1" and fieldname = "title".