Ticket T803106
Visible to All Users

Changing default filter condition from equal to contains

created 6 years ago

Hi,

I have 2 questions:
- Is it possible to change de default filter condition in the filterrow from equals to contains?
- Is it also possible to translate the conditions to local language(fe: contains -> bevat)

PS: is there some kind of a quick start manual for the Quantumgrid in place of the manual now with > 4K pages, without a table of contents?

Kind regards
Hubert Duijvewaardt

Answers approved by DevExpress Support

created 6 years ago

Hello Hubert,

  1. Sure. You can set the column's Options.FilterRowOperator property to foContains to accomplish this task (see the attached example).
  2. This functionality is also supported. You can use our TcxLocalizer component to translate these texts and many other default texts (see the "How To Localize an Application Using the TcxLocalizer" help topic).
    As an alternative solution, you can use the cxSetResourceString method as demonstrated in the attached example.

P.S.: No. We do not have a quick manual. It is necessary to start with "main concepts" help topics and learn TcxGrid article by article.

    Show previous comments (1)

      Hi Paolo,

      No need anymore.
      I found it in the Help.

      3.png

      Kind regards

      DevExpress Support Team 6 years ago

        I am happy to hear that this property helps. A small follow up to my answer regarding our documentation:

        Please note that our documentation is integrated into the IDE's help system during the installation of our controls. It is much more convenient to use that embedded documentation than to read PDF help files. For example, you can place one of our controls on your form, select it, press F1, and a corresponding help topic will be displayed. This way you can navigate to other help topics related to this control by using topic links or the navigation tree in the left frame.

          Indeed.
          It is that way i found the way to enable the OperatorCustomization. :)

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.