Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Highlight text in grid based on search text..
posted

Hi,

Please suggest how the following requirement can be achieved:

The requirement is to somehow highlight the search phrase (entered in some text field) in the grid result.

Also when copied/drag-droped from grid only the original text (actual column text) is copied.

 

Example: 

 

Search text – “progress walking”

Results:

-          Progress walking has improved by…

-          …demonstrates progress walking up ramps…

-          progress with both stairs and walking around obstacles…

-          … needs moderate assistance walking more than…

 

 

 Thanks & Regards,

Balraj

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Balrag,

    You could achieve text highlighting like this using the UltraFormattedTextEditor, UltraFormattedLinkLable, or using the Formatted Style for a grid column.

    The highlighting would have to come from the data, though. So this means you would have to build an xml string and use that string as the value of the cell.

    I assume you don't want the formatting to change the data, so what you would have to do is hide the real bound data column(s) and then show the user an unbound string column in it's place. Then you could copy the data from the real cell(s) into the unbound cells using the initializeRow event, and you could then modify the string to present highlighted text.

Children
No Data