PDA

View Full Version : [CLOSED] Refresh imagecolumn by row



jchau
Jan 11, 2013, 7:15 PM
How can I refresh a specific row in a grid? Based on a button click, I want to change the icon on an imagecommand in one particular row. I dont want to refresh entire view. Is there a way to run prepareCommands on a specific row?

Vladimir
Jan 11, 2013, 7:27 PM
Use 'refreshNode' method of View
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.AbstractView-method-refreshNode

jchau
Jan 11, 2013, 7:44 PM
Use 'refreshNode' method of View
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.AbstractView-method-refreshNode

Thanks! I saw that earlier and didn't make the connection that Node = Record = Row. Doh.