[CLOSED] GridPanel in Form Layout

  1. #1

    [CLOSED] GridPanel in Form Layout

    Hi,

    Is it possible to place a grid panel in a Form Layout? (0.8.2 Version)

    If yes,

    I have a placed a Grid Panel in a Form Layout anchor. But the page is unable to find the Store element bounded to the ComboBox Control placed in one of the columns of the grid panel.

    Java Script Error Message is : "ucGridPanelInFormLayout_stStatus" is undefined.

    I am sending the test solution to Coolite support mail id

    Regards,
    Gopal.
  2. #2

    RE: [CLOSED] GridPanel in Form Layout

    Hi Gopal,

    This issue has been fixed in the v1.0 build, but for v0.8.x you'll require a work-around.

    The following sample is just a snippet of you code for the GridPanel.

    Example

    <ext:GridPanel 
        ID="gpEmployees" 
        runat="server" 
        StoreID="Store1"
        Height="600">
        <ColumnModel runat="server">
            <Columns>
                <ext:Column DataIndex="FirstName" Header="First Name" />
                <ext:Column DataIndex="LastName" Header="Last Name" />
                <ext:Column DataIndex="Status" Header="Status">
                    <Editor>
                        <ext:ComboBox 
                            ID="ComboBox1"
                            runat="server" 
                            DisplayField="Description"
                            ValueField="StatusLookupId" 
                            />
                    </Editor>
                </ext:Column>
            </Columns>
        </ColumnModel>
        <Listeners>
            <Render Handler="#{ComboBox1}.bindStore(#{Store2}); " />
        </Listeners>
    </ext:GridPanel>
    There are two changes required...

    1. Remove the .StoreID property from the <ext:ComboBox>
    2. Add the <Render> Listener to the <ext:GridPanel>

    As a side note, in the future, please minimise your code samples down to only what is required to reproduce the problem.

    Hope this helps.

    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] GridPanel in Form Layout

    Hi,

    It worked.

    Thank you!

    Gopal.

Similar Threads

  1. Form layout and Anchors
    By Zdenek in forum 1.x Help
    Replies: 1
    Last Post: Apr 18, 2012, 3:21 PM
  2. [CLOSED] Form Layout problem
    By mirwais in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 15, 2011, 1:09 PM
  3. Form Layout, help needed
    By shijith in forum 1.x Help
    Replies: 4
    Last Post: Jun 12, 2011, 6:49 AM
  4. [CLOSED] Form Layout Spacing in IIS
    By CMA in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Oct 14, 2010, 8:16 AM
  5. [CLOSED] Need help with form layout
    By CSG in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 08, 2009, 6:54 AM

Posting Permissions