Results 1 to 3 of 3

Thread: Initializing Store object with an existing Record

  1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    41

    Default Initializing Store object with an existing Record

    I have a GridPanel and can get modified records as Ext.data.Record[] using the Store's getModifiedRecords() method.
    Now I'm trying to initialize a Store object with the array of Record to create another grid only with the modified records, but I'm not sure how I can initialize a Store object with an existing array of Record.
    Can somedoby please tell me how to do it?

    Thank you.

  2. #2
    Ext User santosh.rajan's Avatar
    Join Date
    Sep 2007
    Location
    Kannur, Kerala, India
    Posts
    611

    Default

    use store.add(records)

  3. #3
    Ext User
    Join Date
    Oct 2007
    Posts
    41

    Default

    Yeah, right. I have been trying to use it but it had not been working.
    But now that I'm initializing a Store object correctly, it's working.
    Anyways, thanks a lot for your help

Posting Permissions

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