New "ColumnFilterName" parameter for grid column filtering

  1. #1

    New "ColumnFilterName" parameter for grid column filtering

    Hi,

    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?! :-)
  2. #2
    Hi,

    Please investigate an example from this post
    http://forums.ext.net/showthread.php...ll=1#post43525

    Seems there what you need.

Similar Threads

  1. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  2. Replies: 4
    Last Post: Dec 27, 2011, 5:11 PM
  3. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  4. "Grid": How to get the column width
    By xmdxxa in forum 1.x Help
    Replies: 0
    Last Post: Mar 30, 2011, 3:41 AM
  5. Replies: 1
    Last Post: Mar 13, 2011, 9:21 AM

Posting Permissions