Oct 01, 2009, 2:19 AM
[CLOSED] Gridpanel Paging Button Event
Hi,
I need to take gridpanel paging toolbar button event on changing the page.
On changing the page i need to check if there is any changes in page or not if there is changes then i have to save those changes and after i need to change the page. for that i need page toolbar button event.
How to do this.
<ext:GridPanel ID="GrdPnl1" runat="server" TitleCollapse="false" Height="500" AutoScroll="true"
Width="300" StoreID="Store1">
<Listeners>
<CellClick Fn="cellClick" />
</Listeners>
<ColumnModel ID="ctl350" runat="server">
<Columns>
<ext:Column ColumnID="GROUP_NAME" DataIndex="GROUP_NAME" Header="Name" Width="300">
</ext:Column>
<ext:Column ColumnID="GROUP_ID" DataIndex="GROUP_ID" Header="ID" Width="300">
</ext:Column>
</Columns>
</ColumnModel>
<Plugins>
<ext:GridPanelMaintainScrollPositionOnRefresh ID="GridPanelMaintainScrollPositionOnRefresh1"
runat="server">
</ext:GridPanelMaintainScrollPositionOnRefresh>
</Plugins>
<BottomBar>
<ext:PagingToolbar DisplayInfo="false" ID="PagingToolBar1" runat="server" PageSize="15"
StoreID="Store1">
</ext:PagingToolbar>
</BottomBar>
</ext:GridPanel>
<ext:Store ID="StoreGroup" runat="server" AutoLoad="true">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="GROUP_NAME" />
<ext:RecordField Name="GROUP_ID" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
ThanksSpeedstep