Error refreshing paged grid

  1. #1

    Error refreshing paged grid

    Hi,

    When I press button on the screen refreshes the grid with paging;
    now the page shows page 1 of 8 for example that is okay...

    but it actually shows all items of the grid on page 1.

    I'm using
    <ext:PagingToolbar runat="server" PageSize="5" HideRefresh="true" DisplayInfo="false">

    and I'm updating the "store" on the grid using:
    store.DataSource = datatable;
    store.DataBind ():

    Thks.

    Sebastian.
  2. #2
    Hi,

    Try to add the following property to the Store
    <AutoLoadParams>
         <ext:Parameter Name="start" Value="={0}" />
         <ext:Parameter Name="limit" Value="={5}" />
    </AutoLoadParams>
  3. #3
    Thks. It´s work fine.

    Sebastián

Similar Threads

  1. [CLOSED] Refreshing Grid Data
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 03, 2012, 3:17 PM
  2. [CLOSED] Property Grid not refreshing automatically
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 05, 2012, 4:45 PM
  3. Replies: 2
    Last Post: Jun 20, 2011, 6:45 PM
  4. Replies: 1
    Last Post: Nov 10, 2010, 8:47 PM
  5. [CLOSED] [1.0] Paged grid displays all records on store's reload
    By danielg in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 25, 2010, 11:26 AM

Tags for this Thread

Posting Permissions