[CLOSED] Note Align Not Working in Composite Field

  1. #1

    [CLOSED] Note Align Not Working in Composite Field

    The following layout does not work for some reason. All the fields in the composite fields do not have notes. Please tell me what I am doing wrong because I have used this layout in a previous project and it worked fine.

    
    
    <ext:FormPanel ID="panNewTicket" runat="server" Padding="5" Title="Create New Ticket"
            MonitorResize="true" Width="800">
            <Items>
                <ext:FieldSet ID="panSelectAgency" runat="server" Layout="form" Title="Agency/User Id"
                    HideLabels="true">
                    <Items>
                        <ext:CompositeField AnchorHorizontal="100%" NoteAlign="Top" ID="CompositeField1" runat="server">
                            <Items>
                                <ext:ComboBox ID="cboAgencyName" Flex="1"  NoteAlign="Top" Note="Select Agency" runat="server">
                                </ext:ComboBox>
                                <ext:SelectBox ID="cboAgencyUser" Flex="1" NoteAlign="Top" Note="Select User" EmptyText="Select an Agency"
                                     runat="server">
                                </ext:SelectBox>
                            </Items>
                        </ext:CompositeField>
                    </Items>
                </ext:FieldSet>
                <ext:FieldSet ID="panAgencyCurrentDetails" Collapsible="true" Collapsed="true" runat="server"
                    Title="Agency Status" HideLabels="true">
                    <Items>
                        <ext:CompositeField AnchorHorizontal="100%" NoteAlign="Top" ID="CompositeField2" runat="server">
                            <Items>
                                <ext:TextField ID="txtLicenseStart" Flex="1" runat="server" NoteAlign="Top" Note="License Start"
                                    >
                                </ext:TextField>
                                <ext:TextField ID="txtLicenseEnd" Flex="1" runat="server" Note="License End" NoteAlign="Top">
                                </ext:TextField>
                                <ext:TextField ID="txtTotalUsers" Flex="1" runat="server" Note="Total Users" NoteAlign="Top">
                                </ext:TextField>
                                <ext:TextField ID="txtOpenTickets" Flex="1" runat="server" Note="Open Tickets" NoteAlign="Top">
                                </ext:TextField>
                            </Items>
                        </ext:CompositeField>
                        <ext:DataView ID="viewOpenTickets" ItemSelector="div.contentmessage" runat="server">
                            <Template runat="server">
                                <Html>
                                <p>test</p>
                                </Html>
                            </Template>
                        </ext:DataView>
                    </Items>
                </ext:FieldSet>
                <ext:FieldSet ID="panTicketInfo" runat="server" Title="Ticket Details" Layout="form"
                    HideLabels="true">
                    <Items>
                        <ext:CompositeField AnchorHorizontal="100%" ID="CompositeField3" runat="server">
                            <Items>
                                <ext:SelectBox ID="cboSubCategory" Flex="1" Note="Category" NoteAlign="Top" runat="server">
                                </ext:SelectBox>
                                <ext:SelectBox ID="cboSource" Note="Source" Flex="1" NoteAlign="Top" runat="server">
                                </ext:SelectBox>
                            </Items>
                        </ext:CompositeField>
                        <ext:TextField ID="txtTitle" AnchorHorizontal="100%" runat="server" Note="Title"
                            NoteAlign="Top">
                        </ext:TextField>
                        <ext:TextArea ID="txtDetail" AnchorHorizontal="100%" Grow="true" GrowMin="150" runat="server"
                            Note="Details" NoteAlign="Top">
                        </ext:TextArea>
                    </Items>
                </ext:FieldSet>
            </Items>
            <Buttons>
                <ext:Button ID="Button1" runat="server" Icon="Accept" Text="Submit">
                </ext:Button>
            </Buttons>
        </ext:FormPanel>
  2. #2

    RE: [CLOSED] Note Align Not Working in Composite Field

    Hi,

    Please update from SVN and retest
    Also please set HideMode="Offsets" for the collapsed FieldSet (panAgencyCurrentDetails)
  3. #3

    RE: [CLOSED] Note Align Not Working in Composite Field

    Thanks Vladimir,

    That work!
  4. #4

    CompositeField with NoteAlign="Top"

    I am testing the version 1.0 and I having the same problem as above. How do you download the update?
    Maia
    v1.0.0.34580 - 31/03/2010
    Last edited by geoffrey.mcgill; Nov 09, 2010 at 8:45 PM.
  5. #5
    Hello, Maia!

    The latest public build (v1.0 Preview) is available for testing and demonstration purposes from the following location, see http://forums.ext.net/showthread.php...on-1.0-Preview.

    NOTE: Download at http://www.ext.net/download/
    Last edited by geoffrey.mcgill; Nov 09, 2010 at 8:44 PM.
  6. #6
    Hi Veriga!
    It's the version I'm using. But when I use "CompositeField" with "Note" and "NoteAlign = Top", the note text does not appear. Only appear with NoteAlign="Dow".

    Maia.
    v1.0
    Last edited by geoffrey.mcgill; Nov 09, 2010 at 8:45 PM.
  7. #7
    Hi!

    Please look at the second post of this topic.
    I think it means the toolkit version here is earlier than one with the fix on this bug.
  8. #8
    Hi!
    I'm not use the "FieldSet".
    <ext:FormPanel ID="FormmPanel1" runat="server" Title=" ">
                <Content>                                                              
                    <ext:FormLayout runat="server"> 
                                <ext:Anchor>
                                    <ext:CompositeField runat="server" FieldLabel="Mídia">
                                        <Items>
                                            <ext:ComboBox runat="server" 
                                                ID="cbxMidia" 
                                                StoreID="StoreMidia"
                                                DisplayField="MdaDescricao"
                                                ValueField="MdaId"
                                                Note=" Mídia"
                                                NoteAlign="Top"
                                                Editable="true"
                                                TypeAhead="true"
                                                ForceSelection="true"
                                                TriggerAction="All"
                                                SelectOnFocus="true"
                                                AllowBlank="false"                                            
                                                Width="150">                                            
                                            </ext:ComboBox>
                                            <ext:TextField runat="server" ID="txtComplementoMidia" Width="210" MaxLength="25" Note="Complemento"   NoteAlign="Top"></ext:TextField>
                                        </Items>
                                    </ext:CompositeField>
                                </ext:Anchor>
                             </Anchors>                            
                    </ext:FormLayout>
    Maia.
  9. #9
    @Maia - Please start a new forum thread. As well, ensure you are using the latest code from SVN.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Note Right Align
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: May 22, 2013, 1:59 PM
  2. Replies: 1
    Last Post: Oct 07, 2011, 8:34 AM
  3. Replies: 2
    Last Post: Sep 22, 2011, 11:46 AM
  4. Replies: 2
    Last Post: Aug 19, 2011, 1:36 PM
  5. [CLOSED] [1.0] Composite Field Right Align Help
    By MP in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 22, 2011, 2:28 PM

Posting Permissions