[CLOSED] Grouping feature broken after latest from SVN

  1. #1

    [CLOSED] Grouping feature broken after latest from SVN

    Maybe I am setting this up wrong but I can't seem to get Grouping feature to work now. I got latest from SVN this morning. After grid loads, clicking on the + / - signs don't do anything. The groupings are shown but there's no rows underneath them.

    <script runat="server">
       
             
        Private Sub storePlans_RefreshData(ByVal sender As Object, ByVal e As Ext.Net.StoreReadDataEventArgs) Handles storePlans.ReadData
             
            Me.storePlans.DataSource = GetGridData()
            Me.storePlans.DataBind()
            
        End Sub
         
        Private Function GetGridData() As IEnumerable
            Dim list As New System.Collections.Generic.List(Of Object)
             
            list.Add(New With {.ENTITYGUID = Guid.NewGuid(), .Name = "Test", .Category = "Category1"})
                     
            list.Add(New With {.ENTITYGUID = Guid.NewGuid(), .Name = "Test2", .Category = "Category2"})
                     
            list.Add(New With {.ENTITYGUID = Guid.NewGuid(), .Name = "Test3", .Category = "Category3"})
            
            Return list
                    
        End Function
         
         
    </script>
    <!DOCTYPE html>
    <html>
    <head>
    </head>
    <body>
        <form id="Form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
            DisableViewState="true" />
        <ext:Store runat="server" ID="storePlans" AutoLoad="true" GroupField="Category">
            <Proxy>
                <ext:PageProxy>
                </ext:PageProxy>
            </Proxy>
            <Model>
                <ext:Model ID="Model1" runat="server" IDProperty="ENTITYGUID">
                    <Fields>
                        <ext:ModelField Name="ENTITYGUID">
                        </ext:ModelField>
                        <ext:ModelField Name="Name">
                        </ext:ModelField>
                        <ext:ModelField Name="Category">
                        </ext:ModelField>
                    </Fields>
                </ext:Model>
            </Model>
        </ext:Store>
        <ext:GridPanel runat="server" ID="gridPlans" StoreID="storePlans" TrackMouseOver="true"
            SelectionMemory="false" AutoScroll="true" ColumnLines="true" Height="400">
            <ColumnModel>
                <Columns>
                    <ext:RowNumbererColumn ID="RowNumbererColumn1" runat="server">
                    </ext:RowNumbererColumn>
                    <ext:Column ID="Column1" DataIndex="Name" Text="Name" runat="server" Width="200">
                    </ext:Column>
                </Columns>
            </ColumnModel>
            <Features>
                <ext:Grouping ID="Grouping1" runat="server" HideGroupedHeader="true" />
            </Features>
        </ext:GridPanel>
        </form>
    </body>
    </html>
    Last edited by Daniil; Apr 18, 2013 at 4:34 AM. Reason: [CLOSED]
  2. #2
    The problem is related with row numberer column renderer (it raises a javascript error if grouping feature is used)
    We will commit a fix soon, thanks for the report

    P.S. Small tip, You can detect problem code if set Development ScriptMode in ResourceManager, in this case, error message will be listed in browser console
  3. #3
    Quote Originally Posted by Vladimir View Post
    The problem is related with row numberer column renderer (it raises a javascript error if grouping feature is used)
    We will commit a fix soon, thanks for the report

    P.S. Small tip, You can detect problem code if set Development ScriptMode in ResourceManager, in this case, error message will be listed in browser console
    Oops. I guess I introduced that with my overrides for RowNumberer Renderer =P. Thanks for the tip on ScriptMode too. Did not know that existed.
  4. #4
    I notice this is marked as closed. Does this mean the fix is already committed to SVN?
  5. #5
    Quote Originally Posted by jchau View Post
    I notice this is marked as closed. Does this mean the fix is already committed to SVN?
    Yes, it has been committed.

Similar Threads

  1. Replies: 17
    Last Post: Nov 25, 2013, 10:13 PM
  2. Replies: 2
    Last Post: Mar 06, 2013, 3:45 PM
  3. Replies: 1
    Last Post: Nov 28, 2012, 2:46 AM
  4. Replies: 1
    Last Post: Jun 29, 2010, 9:44 AM
  5. [CLOSED] Remote grouping or grouping summary for GridPanel
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 08, 2009, 10:23 PM

Posting Permissions