Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Request to add a new operator to the DataSource

    Hi, we use some backend filters and now we want to move them to the client due to a big performance issue we are facing.

    When filtering strings in backend, spaces are replaced by % in the resultant ilike expression. For example if filter is "jo sm" the query will be "ilike '%jo%sm%'", so "John Smith" would be found. When filtering in client Smartclient doesn't do this conversion.

    We attach a patch we have developed to get this. Could you please include it (or something similar) in the 9.1d?

    Thanks in advance.
    Attached Files
    Last edited by martintaal; 12 Sep 2013, 06:41.

    #2
    Did you already try
    ListGridField.setFilterOperator (http://www.smartclient.com/smartgwt/....OperatorId%29)
    or
    ListGridField.setOptionTextMatchStyle (http://www.smartclient.com/smartgwt/...tMatchStyle%29)?

    Comment


      #3
      Sorry, we definitely don't think this behavior you want makes sense as a new framework operator.

      You can get this behavior a number of ways without a patch:

      1. Use the (recently added) matchesPattern operator

      2. Combine multiple operators

      3. Use addSearchOperator to add your own operator without patching the framework

      Comment

      Working...
      X