View Full Version : Highlighting a grid's cell

8 May 2012, 7:55 PM

I have a grid and user can select a row and make some operation which manipulates the record in server side. When I update record's field on server response I would like to show highlight animation on a specific cell to inform user about successful operation.

I'm kinda lost with this one. Any tips?

8 May 2012, 10:21 PM
You could implement renderer and then change metaData to apply a class or style to the cell. Example:

columns: [{
header: 'Column 1',
dataIndex: 'field1',
renderer: function(value, metaData){
metaData.tdCls = 'highlight';
return value;

8 May 2012, 10:49 PM
Thanks, but that's not what I am looking for. Maybe an example from jQuery helps: http://docs.jquery.com/UI/Effects/Highlight

(http://docs.jquery.com/UI/Effects/Highlight)So I want to "flash" the cell briefly to get user's attention to changed value in cell.