Mar 20, 2014, 9:07 AM
[CLOSED] Array Grid with Paging and Remote Reloading does not working properly
https://examples2.ext.net/#/GridPane...rayWithPaging/
Hi I am using Array Grid with Paging and Remote Reloading
it works properly when I use it with default set value in store but its create problem when I select any value from list and then use nextPage from paging,
the issue is that, its not update params like Page# , StartValue and LimitValue
By the ways its should automatically update params values like when we move NextPage
Thanks
Hi I am using Array Grid with Paging and Remote Reloading
it works properly when I use it with default set value in store but its create problem when I select any value from list and then use nextPage from paging,
the issue is that, its not update params like Page# , StartValue and LimitValue
<ext:Viewport ID="fitLayoutMain" runat="server" Layout="FitLayout" Visible="true"
Region="Center" Hidden="false">
<Items>
<ext:Panel ID="PanelContent" runat="server" Layout="Fit" Region="Center">
<Items>
<ext:GridPanel ID="GridPanel_Companies" runat="server" IDMode="Explicit" Frame="true">
<Store>
<ext:Store runat="server">
<Fields>
</Fields>
</ext:Store>
</Store>
<ColumnModel ID="ColumnModel1" runat="server">
<Columns>
<ext:Column ID="Column1" runat="server" DataIndex="CompanyID" Text="ID">
</ext:Column>
<ext:Column ID="Column2" runat="server" DataIndex="Name" Text="Name" Width="150px">
</ext:Column>
</Columns>
</ColumnModel>
<View>
<ext:GridView ID="view" runat="server" StripeRows="true" />
</View>
<SelectionModel>
<ext:RowSelectionModel ID="RowSelectionModel1" runat="server" Mode="Single" />
</SelectionModel>
<BottomBar>
<ext:PagingToolbar ID="PagingToolbar1" runat="server">
<Items>
<ext:ToolbarSpacer ID="ToolbarSpacer2" runat="server" Width="10" />
<ext:Label ID="Label1" runat="server" Text="Pagesize" />
<ext:ToolbarSpacer ID="ToolbarSpacer1" runat="server" Width="10" />
<ext:ComboBox ID="ComboBox1" runat="server" Width="80">
<Items>
<ext:ListItem Text="25" />
<ext:ListItem Text="50" />
<ext:ListItem Text="100" />
<ext:ListItem Text="250" />
<ext:ListItem Text="500" />
<ext:ListItem Text="1000" />
<ext:ListItem Text="2500" />
<ext:ListItem Text="10000" />
</Items>
<SelectedItems>
<ext:ListItem Value="50" />
</SelectedItems>
<Listeners>
<Select Handler="#{GridPanel_Companies}.store.pageSize = parseInt(this.getValue()); #{GridPanel_Companies}.store.proxy.setExtraParam('limit', #{GridPanel_Companies}.store.pageSize); #{GridPanel_Companies}.store.reload(); " />
</Listeners>
</ext:ComboBox>
</Items>
</ext:PagingToolbar>
</BottomBar>
</ext:GridPanel>
</Items>
</ext:Panel>
</Items>
</ext:Viewport>
On select value from list how to update value of page#, startvalue and limitvalue??????, by the way I manually Update LimitValue, but how to update Page# and LimitValue,By the ways its should automatically update params values like when we move NextPage
Thanks
Last edited by Daniil; Mar 31, 2014 at 3:32 PM.
Reason: [CLOSED]