[CLOSED] Difference between store's AutoLoadParams and BaseParams

  1. #1

    [CLOSED] Difference between store's AutoLoadParams and BaseParams

    Hi. What's the difference between BaseParams and AutoLoadParams? Some examples stick the start/limit under AutoLoadParams and some stick it under BaseParams. I am assuming anything I add to AutoLoadParams will only be sent back the first time the grid is loaded? But then why would start/limit always be sent back if it is part of AutoLoadParams?
  2. #2

    RE: [CLOSED] Difference between store's AutoLoadParams and BaseParams

    Hi,

    AutoLoadParams are added to the first request only. For example, if you use paging then the paging params (start, limit) can be absent in first request because paging params are applyed by PagingToolbar when user click on some paging button. Therefore AutoLoadParams collection allows you to apply initial start and limit params for first request. For next requests the AutoLoadParams will not be using


Similar Threads

  1. Replies: 2
    Last Post: Apr 27, 2011, 12:29 PM
  2. Get baseParams from Store in Javascript
    By Waltheer in forum 1.x Help
    Replies: 0
    Last Post: Mar 09, 2011, 12:24 PM
  3. Replies: 4
    Last Post: Dec 01, 2010, 10:48 AM
  4. [1.0 RC1] Add FileUploadField to Store's BaseParams
    By Maarten Boone in forum 1.x Help
    Replies: 0
    Last Post: Nov 13, 2010, 10:04 AM
  5. Set Store BaseParams from codebehind
    By stu in forum 1.x Help
    Replies: 2
    Last Post: Jun 22, 2010, 4:47 PM

Posting Permissions