Question
Abu Dhabi Executive Office (ADEXO)
AE
Last activity: 21 Feb 2023 2:55 EST
Highlight text in table cells based on text entered in a different field outside table (Global search Theme cosmos from header)
I'm trying to highlight text in table cells of the results displayed for global search.
I was able to achieve this with some trade offs by embedding a section in the cell and having a control for text pzHighlightText and passing the search string as parameter. This thing works but for the respective column grouping doesn't work as there is embedded section and we can't use this for columns where we need links, datetime controls,. etc.
Other tried approaches that failed:
- Tried having a label control with property directly having tags in their values---> Was not able to render tags but just started displaying them until it's in an embedded section and referred in table
- RTE messes the table
Looking for an OOTB approach to achieve it in a simpler way without writing custom JS to highlight text in all cells based on the text entered in a text input outside the table