22 Apr 2011 2:21 AM #1
Focus Tree Row
Imagine I have just added a new node to a certain parent in my tree.
No imagine I want the viewer to focus on the row where the new node was added.
Right now, I'm doing it like this:
22 Apr 2011 3:07 AM #2Code:
22 Apr 2011 3:42 AM #3
I was trying that with the wrong store... indexOf of the TreeListStore was returning the index inside the parent only...
but getStore() returns the listStore... which is the right one to use for this.
22 Apr 2011 11:38 AM #4
You guys realize that such a call :
if the grid is supposed the setfocus on a row
why not add a method like
with the actual implementation the caller needs to know too much stuff about the grid.
By florian.trossbach in forum Ext GWT: DiscussionReplies: 1Last Post: 17 Jun 2010, 2:26 AM
By clavinovahan in forum Ext GWT: DiscussionReplies: 0Last Post: 27 May 2010, 7:05 AM
By Egor Nepomnyaschih in forum Ext 2.x: BugsReplies: 3Last Post: 9 Apr 2009, 6:01 AM
By oxi in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 10 Mar 2007, 9:29 AM