Results 1 to 2 of 2

Thread: Using a single store on multiple grids and dropdowns

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    80
    Answers
    1

    Default Using a single store on multiple grids and dropdowns

    I have a store "Contacts". In my application i'm using this in 2 grids and 1 combo box. In Each of these components have varying screen space so i need to define pageSize. What is the best practise for this scenario. Is it better do create 3 different stores. ( I'm using MVC ) . If so, are there naming conventions.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716

    Default

    I think this depends on your setup. In most cases, I would think each combo would have it's own store to load unique data relevant to the field and the grid would have the main store.

    Scott.

Posting Permissions

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