Mar 30, 2009, 9:59 PM
[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?