Forum /
Ext JS 2.x - Unsupported /
Ext 2.x: Help & Discussion /
How to add selected Record of one gridpanel to other gridpanel
How to add selected Record of one gridpanel to other gridpanel
Hi,
I have to GridPanel in my panel say GP1 (with checkbox) and GP2 and one button Tranfser.
What I want is, when user press on button, it should load all the checked rows of GP1 to GP2.
I have prepared array of Record of selected rows of GP1. Now, how to load this array of Record in GP2?
Thanks
Sencha - Community Support Team
Use store2.add(records), but you either need to make a copy() or the records or remove them from store1, because a record can't be in two stores at the same time.
Similar Threads
By gunt in forum Ext 3.x: Help & Discussion
Replies: 1
Last Post: 25 Jul 2010, 9:16 PM
By kurt schrauwen in forum Ext 3.x: Help & Discussion
Replies: 4
Last Post: 15 Mar 2010, 12:43 AM
By kurt schrauwen in forum Ext 3.x: Help & Discussion
Replies: 0
Last Post: 12 Mar 2010, 5:16 AM
By bbxx in forum Ext 3.x: Help & Discussion
Replies: 2
Last Post: 18 Oct 2009, 5:30 PM
By rehanazher in forum Ext 3.x: Help & Discussion
Replies: 2
Last Post: 6 Aug 2009, 7:49 AM
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us