Results 1 to 3 of 3

Thread: Proxy in model VS Proxy in store

  1. #1
    Sencha User lfs2008's Avatar
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    66
    Answers
    1
    Vote Rating
    6
      0  

    Default Unanswered: Proxy in model VS Proxy in store

    Please explain core difference between Proxy configured in model and Proxy configured in store.

    Both classes have getProxy() method

    When should i prefer first or second approach?

    Thanks

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347
    Vote Rating
    114
      0  

    Default

    You could find an answer here "The Data Package", "Proxies" section.

  3. #3
    Sencha User lfs2008's Avatar
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    66
    Answers
    1
    Vote Rating
    6
      0  

    Default

    The problem is:
    when i configure Proxy in store, attach it to grid and set store autoload:true - it works fine.
    when i configure Proxy in model, attach it to grid and set store autoload:true - grid is empty.

Tags for this Thread

Posting Permissions

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