Results 1 to 2 of 2

Thread: How to add selected Record of one gridpanel to other gridpanel

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    278
    Vote Rating
    0
      0  

    Default 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

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    119
      0  

    Default

    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

  1. GridPanel - GroupingView add record to group?
    By gunt in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 25 Jul 2010, 9:16 PM
  2. delete/add a record in my extend gridpanel
    By kurt schrauwen in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 15 Mar 2010, 12:43 AM
  3. delete/add a record in my extend gridpanel
    By kurt schrauwen in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 12 Mar 2010, 5:16 AM
  4. How to get id of record for selected row in GridPanel?
    By bbxx in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 18 Oct 2009, 5:30 PM
  5. GridPanel: Shows Only one record[last record form JSON data]
    By rehanazher in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 6 Aug 2009, 7:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •