cancel
Showing results for 
Search instead for 
Did you mean: 

Search a word in a page using Panel control

Former Member
0 Kudos

Hi All,

I am trying to search a word in a page having sap.m.Panel with title. I have used document.execCommand to highlight the matched word. It is working fine but for title present in the panel, all text disappears except the highlighted word. Below are the screenshots.

Any idea or suggestion on this will be very helpful.

Thank you.

Regards,

Hansapriya.

Accepted Solutions (0)

Answers (1)

Answers (1)

SergioG_TX
Active Contributor
0 Kudos

have you tried anything?

i would suggest start with jquery and look for html text or value and then add a css class to the matched text / html selector

Former Member
0 Kudos

Yes I have tried it but hard luck.

I need something that would work with sap.m.Panel also having a title .

Regards,

Hansapriya.