PDA

View Full Version : [CLOSED] Missing GridPanelMaintainScrollPositionOnRefresh



speedstepmem4
Oct 11, 2013, 10:13 AM
Hi,

How can we use GridPanelMaintainScrollPositionOnRefresh in v2.x?



<ext:GridPanel ID="gridPanel" StoreID="storeGrid" runat="server" StripeRows="true"
Border="true" TrackMouseOver="true" MaskDisabled="false">
<ColumnModel ID="ColumnModel2" runat="server">
<Columns>
</Columns>
<DirectEvents>
<HiddenChange ShowWarningOnFailure="false" Timeout="120000" OnEvent="ColumnHiddenChange"
CleanRequest="false">
<ExtraParams>
<ext:Parameter Name="index" Value="columnIndex" Mode="Raw" />
<ext:Parameter Name="hidden" Value="hidden" Mode="Raw" />
<ext:Parameter Name="columnName" Value="ColumnModel2.getColumnId(columnIndex)" Mode="Raw" />
</ExtraParams>
</HiddenChange>
</DirectEvents>
</ColumnModel>
<Plugins>
<ext:GridPanelMaintainScrollPositionOnRefresh ID="GridPanelMaintainScrollPositionOnRefresh1"
runat="server">
</ext:GridPanelMaintainScrollPositionOnRefresh>
<ext:GridFilters runat="server" ID="GridFilters1">
<Filters>
</Filters>
</ext:GridFilters>
</Plugins>
<BottomBar>
<ext:PagingToolbar ID="PagingToolBar1" runat="server" DisplayInfo="true">
</ext:PagingToolbar>
</BottomBar>
<Listeners>
<FilterUpdate Handler="gridPanel.getSelectionModel().clearSelections();" />
</Listeners>
<DirectEvents>
<FilterUpdate OnEvent="Clear_Filter">
</FilterUpdate>
</DirectEvents>
</ext:GridPanel>

Daniil
Oct 11, 2013, 12:25 PM
Hi @speedstepmem4,

Yes, this plugin has been removed. Instead please set up InvalidateScrollerOnRefresh="false" for a GridPanel.

I added a respective item to the breaking changes log. Thank you.