[CLOSED] [1.0] FieldSets and Checkbox

  1. #1

    [CLOSED] [1.0] FieldSets and Checkbox

    I have a few fields in a FieldSet. When I add a Checkbox, the checkbox is "invisible" until I click on it in IE, then it "appears."

    <ext:Container runat="server">
        <Items>
            <ext:FieldSet runat="server" Title="Business" Collapsible="false" Layout="Form">
                <Items>
                    <ext:CompositeField runat="server" FieldLabel="Company Name">
                        <Items>
                            <ext:TextField ID="tCompanyName" runat="server" Flex="1" />
                            <ext:SelectBox ID="cbCompanyName" runat="Server" Width="90" SelectedIndex="1">
                                <Items>
                                    <ext:ListItem Text="Starts With" Value="Starts" />
                                    <ext:ListItem Text="Ends With" Value="Ends" />
                                    <ext:ListItem Text="Contains" Value="Contains" />
                                </Items>
                            </ext:SelectBox>
                        </Items>
                    </ext:CompositeField>
                    <ext:Checkbox Id="chkIncludeDBA" runat="server" BoxLabel="Include DBA/AKA" />
                </Items>
            </ext:FieldSet>
        </Items>
    </ext:Container>
  2. #2

    RE: [CLOSED] [1.0] FieldSets and Checkbox

    Hi,

    It seems it is IE7 only issue. It doesn't repaint the checkbox.


    Add the following listener to the fieldset

    <AfterLayout Handler="if(Ext.isIE){this.body.repaint();}" Single="true" Delay="50" />
  3. #3

    RE: [CLOSED] [1.0] FieldSets and Checkbox

    Alright, this works.

    But I got a couple questions.


    1. Is this going to be fixed in an update or is something that needs to be fixed at the core?
    2. What does Single="true" mean?


    Thanks.


  4. #4

    RE: [CLOSED] [1.0] FieldSets and Checkbox

    1. Is this going to be fixed in an update or is something that needs to be fixed at the core?
    We're looking into adding this into extnet-core.js, so the custom fix would not be required.

    2. What does Single="true" mean?

    single : Boolean<div class="sub-desc" style="margin-top: 5px; margin-right: 5px; margin-bottom: 5px; margin-left: 16px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">True to add a handler to handle just the next firing of the event, and then remove itself.



    Hope this helps

    Geoffrey McGill
    Founder
  5. #5

    RE: [CLOSED] [1.0] FieldSets and Checkbox

    Hi,

    It seems that issue is fixed already by ExtJS team
    Therefore after next ExtJS toolkit update you don't need our workaround (listener)
    http://www.extjs.com/forum/showthrea...ing-checkboxes

Similar Threads

  1. [CLOSED] [#105] Window constrain w/ collapsed Fieldsets
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 07, 2013, 12:08 PM
  2. Replies: 4
    Last Post: Oct 06, 2010, 9:08 AM
  3. [CLOSED] ColumnLayout Style issues with FieldSets
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 02, 2010, 3:38 PM
  4. [FIXED] 0.5.3 Breaks Fieldsets
    By jlertle in forum Bugs
    Replies: 4
    Last Post: Jul 02, 2008, 11:22 PM
  5. Draggable Fieldsets?
    By jlertle in forum 1.x Help
    Replies: 0
    Last Post: Jul 02, 2008, 11:18 PM

Posting Permissions