[CLOSED] Can't have two components in HeaderColumn

  1. #1

    [CLOSED] Can't have two components in HeaderColumn




    I'm using the new HeaderColumn and I wanted to add a filter to a field in the grid, very much like your MultiHeader filter example. But instead of the default operator of equality, I want the users to be able to choose the operator from a list. Here is what I'm trying to do:

    <ext:HeaderColumn Cls="x-small-editor">
        <Component>
            <ext:ComboBox runat="server" Mode="Local" TriggerAction="All" AutoWidth="true">
                <Items>
                    <ext:ListItem Text="=" Value="=" />
                    <ext:ListItem Text=">" Value=">" />
                    <ext:ListItem Text="<" Value="<" />
                    <....other operators....>
                </Items>
            </ext:ComboBox>
            <ext:TextField ID="AmountFilter" runat="server"></ext:TextField>
        </Component>
    </ext:HeaderColumn>
    However, it's not possible to have more than one component in a HeaderColumn. Is there a way to achieve what I want other than having the users type the operator which would be error prone?
  2. #2

    RE: [CLOSED] Can't have two components in HeaderColumn

    Hi,

    You can add second HeaderRow and put second field into this row.
    Or you can try define fields in div (in top of page for example) and set Target for this div in HeaderColumn


    <div id="div1">
    ...fields




    *<ext:HeaderColumn Target="div1" />





  3. #3

    RE: [CLOSED] Can't have two components in HeaderColumn

    Thanks, that worked.

Similar Threads

  1. [CLOSED] HeaderColumn is not working
    By albayrak in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 05, 2011, 5:49 AM
  2. Replies: 3
    Last Post: Dec 10, 2010, 7:26 AM
  3. Replies: 2
    Last Post: Nov 12, 2010, 7:17 PM
  4. HeaderColumn filter from codebehind
    By GijsZePa in forum 1.x Help
    Replies: 1
    Last Post: Apr 20, 2010, 9:28 AM
  5. Replies: 3
    Last Post: Aug 15, 2009, 2:55 PM

Posting Permissions