3 Feb 2011 9:48 AM #1
finding a model from the loader?
Hi, I just wonder if I can get the index of a certain model from the loader.
The reason is that I am using a liveGrid of persons, and when I add a person to that grid, I want to set the focus on it according to the order set by the loader.
How am I doing the add : I save the person on the table, and i load back again to get the new list of people. I am also using pervasive for the DB, so I can't get the index of the added person, that's why I need to do it through the loader.
4 Feb 2011 2:28 AM #2
I'm not fully understanding what you are trying to do. Could you post a small testcase implementing EntryPoint.
If you need to know the index of a "person" in a store you can use the following.
4 Feb 2011 7:28 AM #3
Hi, Thank you for replying.
Actually when I read my post it's kind of funny and doesn't make sens. sorry about that!
But my problem was to find the index of a model on the server side (not from the store )
I didn't figure it out, but I made an extra AsyncCall that does it, but not the way I want it... but it works
Thank you anyway
By Mycoding in forum Community DiscussionReplies: 8Last Post: 23 Oct 2010, 10:05 AM
By Aldehan in forum Ext GWT: DiscussionReplies: 2Last Post: 17 Jun 2010, 6:53 AM
By Dumas in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 25 May 2009, 11:28 PM
By wilderland in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 4 May 2009, 10:31 AM
By hydra12 in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 27 Nov 2007, 11:33 AM