[CLOSED] [1.0] GroupingView broken

  1. #1

    [CLOSED] [1.0] GroupingView broken

    Hi,

    After some recent update, I'm getting the following error with the page below: "Ext.fly(rows[0]) is null". I think it has something to do with JsonReader and GroupingView.

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>GridPanel GroupingView with EnableRowBody - Ext.NET Examples</title>
        <link href="../../../../resources/css/examples.css" rel="stylesheet" type="text/css" />
    
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" />
        <ext:Store ID="store" runat="server" RemoteSort="true">
            <Proxy>
                <ext:HttpProxy Method="GET" Url="../../Shared/PlantHandler.ashx" />
            </Proxy>
            <AutoLoadParams>
                <ext:Parameter Name="start" Value="={0}" />
                <ext:Parameter Name="limit" Value="={5}" />
            </AutoLoadParams>
            <Reader>
                <ext:JsonReader Root="Data" TotalProperty="TotalRecords">
                    <Fields>
                        <ext:RecordField Name="Common" />
                        <ext:RecordField Name="Botanical" />
                        <ext:RecordField Name="Light" />
                        <ext:RecordField Name="Price" Type="Float" />
                        <ext:RecordField Name="Availability" Type="Date" />
                        <ext:RecordField Name="Indoor" Type="Boolean" />
                    </Fields>
                </ext:JsonReader>
            </Reader>
            <SortInfo Field="Common" Direction="ASC" />
        </ext:Store>
        <ext:Viewport ID="viewPort" runat="server" IDMode="Explicit">
            <Content>
                <ext:FitLayout runat="server">
                    <Items>
                        <ext:GridPanel ID="grid" runat="server" StoreID="store" StripeRows="true" Height="100" AutoExpandColumn="Common" Border="false">
                            <ColumnModel runat="server">
                                <Columns>
                                    <ext:Column ColumnID="Common" Header="Common Name" DataIndex="Common" Width="220" />
                                    <ext:Column Header="Light" DataIndex="Light" Width="130" />
                                    <ext:Column Header="Price" DataIndex="Price" Width="70" Align="right" Groupable="false">
                                        <Renderer Format="UsMoney" />
                                    </ext:Column>
                                    <ext:DateColumn Header="Available" DataIndex="Availability" Width="95" Groupable="false" Format="yyyy-MM-dd" />
                                    <ext:Column Header="Indoor?" DataIndex="Indoor" Width="55" />
                                </Columns>
                            </ColumnModel>
                            <View>
                                <ext:GroupingView HideGroupedColumn="true" runat="server" StartCollapsed="false" GroupTextTpl="{text}" EnableRowBody="true" ForceFit="true">
                                </ext:GroupingView>
                            </View>
                            
                            <SelectionModel>
                                <ext:RowSelectionModel runat="server" />
                            </SelectionModel>
                            <LoadMask ShowMask="true" />
                            <BottomBar>
                                <ext:PagingToolbar runat="server" PageSize="100" StoreID="store">
                                    
                                </ext:PagingToolbar>
                            </BottomBar>
                        </ext:GridPanel>
                    </Items>
                </ext:FitLayout>
            </Content>
        </ext:Viewport>
        </form>
    </body>
    </html>
    Regards,
    Tadeusz
  2. #2

    RE: [CLOSED] [1.0] GroupingView broken

    Hi,

    Fixed. Please update.


    We apologize for inconvinience. Just we updated to the ExtJS 3.1.1 beta but it is unstable (there are some issues still)
  3. #3

    RE: [CLOSED] [1.0] GroupingView broken

    Thanks.

Similar Threads

  1. [CLOSED] GroupingView and Sorting
    By dheeraj_us in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 21, 2011, 3:12 PM
  2. GroupingView problem ?
    By Mohammad in forum 1.x Help
    Replies: 3
    Last Post: Nov 10, 2011, 10:58 AM
  3. [CLOSED] GroupingView question
    By alexp in forum 1.x Legacy Premium Help
    Replies: 0
    Last Post: May 12, 2009, 9:58 AM
  4. [CLOSED] GroupingView EnableRowBody
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Nov 07, 2008, 6:10 AM
  5. [CLOSED] GroupingView HideGroupedColumn
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 18, 2008, 2:32 PM

Posting Permissions