Skip to main content
patriciam905
Participating Frequently
Jul 21, 2023 6:07 PM UTC
Solved

Search bar in Read Only Grid

Hi,

I have a question is there a way to add a Search bar to a grid that the data source is a variable?

    mathieud0001
    Genius
    Jul 21, 2023 8:24 PM UTC

    This approach only works with limited amounts of data though but it is possible to do via just a regular text field which does a query via an "includes". 

    2 replies

    jamesm4933
    Known Participant
    Jul 21, 2023 8:18 PM UTC

    For out of the box features to be enabled on RecordType backed grids, the data source MUST be either a RecordType reference, or an a!recordData() reference.  

    Either reference should be perfectly happy to live in a local variable, but as is always good practice, you should test it out to make sure, that it works the way you need it to.

    mathieud0001
    Genius
    Jul 21, 2023 8:24 PM UTC

    This approach only works with limited amounts of data though but it is possible to do via just a regular text field which does a query via an "includes".