[CLOSED] CheckboxGroup with 1 item and 2 columns add a magical blank item

  1. #1

    [CLOSED] CheckboxGroup with 1 item and 2 columns add a magical blank item

    If you have a checkboxgroup with 1 item and 2 columns, a blank checkbox will be rendered in the 2nd column.


    <form id="form1" runat="server">
    ** *<ext:ScriptManager ID="ScriptManager1" runat="server" StateProvider="None" />
    ** *<ext:CheckboxGroup ID="CheckboxGroup1" runat="server" ColumnsNumber="2">
    ** * * *<Items>
    ** * * * * *<ext:Checkbox ID="Checkbox1" runat="server" BoxLabel="Test">
    ** * * * * *</ext:Checkbox>
    ** * * *</Items>
    ** *</ext:CheckboxGroup>
    ** *</form>
  2. #2

    RE: [CLOSED] CheckboxGroup with 1 item and 2 columns add a magical blank item



    This looks like a Core ExtJS bug too. Number of columns must be at least the number of checkboxes. I changed my code to account for that by setting the number of columns after the number of checkboxes are known.

    However, I have an interesting situation where I am dynamically loading the checkboxgroup on AjaxEvent (base on some cool code Vladsch suggested). It seems like I can't change the number of columns for the checkboxgroup after it has been rendered. Not a huge deal. I will just use 1 column always for now.

    Please mark this as [Solved].

Similar Threads

  1. Replies: 0
    Last Post: Jul 08, 2012, 2:55 PM
  2. [CLOSED] Always selected Item is nothing for combobox as menu item
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 04, 2011, 4:51 PM
  3. [CLOSED] Hide columns item menù on gridpanel header
    By John_Writers in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 20, 2011, 12:54 PM
  4. Replies: 1
    Last Post: Jun 04, 2010, 5:21 PM
  5. Replies: 1
    Last Post: Jan 15, 2009, 11:01 AM

Posting Permissions