[CLOSED] page size selector

  1. #1

    [CLOSED] page size selector

    Hi guys,
    I was sondering if there is any way of adding a DropDown or a TextBox as a plugin to the PagingToolbar so that the user is able to choose the page size for the grid.

  2. #2

    RE: [CLOSED] page size selector


    In 0.7 version it is easy

    <ext:PagingToolBar ID="PagingToolBar1" runat="server" PageSize="10" StoreID="Store1">
                            <ext:ToolbarSeparator />
                            <ext:ComboBox ID="PageSizeCombo" runat="server" Width="40" Editable="false">
                                    <ext:ListItem Text="1" />
                                    <ext:ListItem Text="5" />
                                    <ext:ListItem Text="10" />
                                    <ext:ListItem Text="15" />
                                    <ext:ListItem Text="20" />
                                <SelectedItem Value="10" />
                                    <Select Handler="#{PagingToolBar1}.pageSize = parseInt(#{PageSizeCombo}.getValue()); #{PagingToolBar1}.doLoad(0);" />

    Vladimir Shcheglov
    Sr. Developer
  3. #3

    RE: [CLOSED] page size selector

    thanks vlad, that is very helpful

Similar Threads

  1. [CLOSED] ext:GridPanel: Calculated page size
    By supera in forum 2.x Premium Help
    Replies: 1
    Last Post: Apr 27, 2012, 5:13 PM
  2. [CLOSED] Huge page size from comboboxes
    By jchau in forum 1.x Premium Help
    Replies: 4
    Last Post: Mar 15, 2012, 10:52 PM
  3. [CLOSED] PagingToolbar - save page size
    By pj_martins in forum 1.x Premium Help
    Replies: 1
    Last Post: Dec 19, 2011, 8:27 PM
  4. [CLOSED] Minimum size of a page
    By majunior in forum 1.x Premium Help
    Replies: 41
    Last Post: Jun 26, 2011, 8:22 PM
  5. Replies: 1
    Last Post: Jun 03, 2010, 2:30 PM

Posting Permissions