View Full Version : Changing tree node text programmatically removes x-grid-row-selected x-grid-row-focus

12 Feb 2013, 11:12 AM
Hello! Please help, if you can. I normally change node text property by Ext.getCmp('mytree').getSelectionModel().getLastSelected().set('text',txt) command. But not only it changes the text, it also removes overlapping classes x-grid-row-selected and x-grid-row-focus. But I want my node stay highlighted. Who knows how to prevent this behaviour?
Thanks in advance,

14 Feb 2013, 7:09 AM
This is a known bug when a single row is updated. You can fix it by refreshing the view with the refresh method on the tree view.

14 Feb 2013, 8:47 AM
Thanks! I would mark it answered if I knew how.