[CLOSED] Default operator for FilterHeader fields

  1. #1

    [CLOSED] Default operator for FilterHeader fields

    Hi,

    I am trying to use the FilterHeader plugin with a GridPanel. For some columns I am also using a combobox as a HeaderItem as my filter field. It seems the default operator for the filter fields is "+(starts with)". How do I set the default operator for each individual filter field?

    UPDATE:

    My main concern is where I use combobox as my filter field. Upon further research, it seems that when the column DataIndex is a numeric type, the default operator is "=", and when it is a string type, the default operator is "+". Please correct me if I am wrong about this.

    I found this thread:
    http://forums.ext.net/showthread.php...lt-type-search

    I have tried to follow the sample provided by Vladimir in the thread above. I have used CustomConfig to override the ConfigItem "getValue" when my column dataIndex is of type "string" and successfully changed the operator to "=". But a new problem arises from doing this. The The override script function is being called on Page_Load, as well as every time I MouseOver or Focus on the filter field (tested using an alert statement in the script function). Why does this happen and how do I avoid ıt?

    Please advise.
    Last edited by Daniil; Aug 26, 2014 at 6:42 AM. Reason: [CLOSED]
  2. #2
    Hi @metci,

    Do you not want to change the op by default as Vladimir suggests in the post #4?

Similar Threads

  1. [CLOSED] Custom FilterHeader
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 13, 2014, 1:42 PM
  2. GridPanel : FilterHeader Bug
    By brunweb in forum 2.x Help
    Replies: 7
    Last Post: Apr 01, 2014, 3:08 AM
  3. [CLOSED] Grid FilterHeader default type search
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 28, 2013, 2:39 PM
  4. [CLOSED] Apply default Fields properties in FormPanel
    By Digital.Dynamics in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 05, 2013, 4:03 AM
  5. Replies: 0
    Last Post: Aug 14, 2012, 9:14 AM

Tags for this Thread

Posting Permissions