[CLOSED] Scrolled (grouped) grid and checkbox selection causes scroll to top

  1. #1

    [CLOSED] Scrolled (grouped) grid and checkbox selection causes scroll to top

    I have a grouped grid of 1030 rows (somewhere between 20 and 60 rows in a group) in 18 groups, loaded as a single page into a "bin" based store. The grid has 4 colums with one being a CheckColumn. Grouping is started colapsed. If I expand a group and select a checkbox where no scrolling has occurred, the checkbox changes state as it should. If I scroll to reveal checkboxes in the group that outwith the display area of the grid and select a checkbox, the check changes state, but the grid then scrolls to the top. This is very frustrating!
    Last edited by Daniil; Jul 02, 2013 at 5:01 AM. Reason: [CLOSED]
  2. #2
    Hi @ATLAS,

    I cannot reproduce it using the test case below. If you can, please provide exact steps. If you cannot, please modify the sample to get the issue reproducible.

    <%@ Page Language="C#" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
            if (!X.IsAjaxRequest)
                Store store = this.GridPanel1.GetStore();
                store.DataSource = new object[] 
                    new object[] { "group1", "1", true },
                    new object[] { "group1", "11", false },
                    new object[] { "group1", "111", true },
                    new object[] { "group2", "2", true },
                    new object[] { "group2", "22", false },
                    new object[] { "group2", "222", false }
    <!DOCTYPE html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            <ext:GridPanel ID="GridPanel1" runat="server" Height="100">
                    <ext:Store runat="server" GroupField="groupId">
                            <ext:Model runat="server">
                                    <ext:ModelField Name="groupId" />
                                    <ext:ModelField Name="test1" />
                                    <ext:ModelField Name="test2" />
                <ColumnModel runat="server">
                        <ext:Column runat="server" Text="GroupId" DataIndex="groupId" />
                        <ext:Column runat="server" Text="Test1" DataIndex="test1" />
                        <ext:CheckColumn runat="server" Text="Test2" DataIndex="test2" Editable="true" />
                    <ext:Grouping runat="server" StartCollapsed="true" />

Similar Threads

  1. Replies: 10
    Last Post: Apr 19, 2013, 4:16 PM
  2. Replies: 4
    Last Post: Mar 26, 2013, 3:09 AM
  3. [CLOSED] Build Dynamic grid with checkbox selection in div
    By imaa in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jan 25, 2012, 6:31 PM
  4. Replies: 2
    Last Post: Dec 01, 2011, 2:00 PM
  5. grid with grouping and checkbox selection
    By [WP]joju in forum 1.x Help
    Replies: 1
    Last Post: Sep 30, 2009, 12:05 PM

Posting Permissions