Nov 10, 2010, 8:02 PM
New "ColumnFilterName" parameter for grid column filtering
Hi,
I have a Gridpanel with a combobox as a field editor + the remote grid filter plugin
If there were a parameter available on the column named something like "ColumnFilterName", and this would overwrite the name of the column sent to the server when filtering - it would solve the issue.
I hope it makes sense?! :-)
I have a Gridpanel with a combobox as a field editor + the remote grid filter plugin
<ColumnModel runat="server">
<Columns>
<ext:Column ColumnID="TypeID" DataIndex="TypeID" Sortable="true" Header="TypeID" Width="75">
<Editor>
<ext:ComboBox ID="combo1" runat="server"
Mode="Remote"
TriggerAction="All"
StoreID="Store1"
ValueField="ID"
DisplayField="Name">
</ext:ComboBox>
</Editor>
</ext:Column>
</Columns>
</ColumnModel>
<Plugins>
<ext:GridFilters runat="server" ID="GridFilters1">
<Filters>
<ext:StringFilter DataIndex="TypeID" />
</Filters>
</ext:GridFilters>
</Plugins>
</ext:GridPanel>
As it works now, it sends the "TypeID" to the server as a parameter - and what i really would have wanted was that "Name" was used as filter parameter instead. If there were a parameter available on the column named something like "ColumnFilterName", and this would overwrite the name of the column sent to the server when filtering - it would solve the issue.
I hope it makes sense?! :-)