Search Filter for TextBox Field

Certified Senior Developer

Hello All,

I have added readable grid into an interface and linked the record to this interface which will provide me all the fields of the record.

In the record user filter option available part of the a!gridfield. In the record I have enabled set showSearchBox to true which provides us with a global search option.

But I have a requirement to add filter for text field for example, Iike

CustomerName


The version I'm using is 21.2, any alternative way to achieve this?

Thanks & Regards

Girish

  Discussion posts and replies are publicly visible

Parents Reply
  • Sure but you can search in the dropdown to find the customers you need. Do you explicitly need to search by keyword instead of searching to find / select the customers? 

    If you do explicitly need to search by a key word, I'd suggest just adding a text box above your grid and save the results of the search into a local variable. Then, use that local variable as a filter in your record grid by applying a filter with a!recordData(). The one downside to this is that the user experience won't be as nice, but it should allow you to search what you want.

Children
  • 0
    Certified Senior Developer
    in reply to Peter Lewis

    Hello Peter,

    Yes I have already tried the method you have recommended, but need to confirm this approach with the customer. I do agree the downside with having a separate explicit search which would have an affect on the user experience. I was also going through "Expression Backed Record:, but in the newer version I see no documentation for this. I need to try this approach and check the performance.