0

In my React app, I have rendered pdf using the library on left side of the page. On the right side, i am showing extracted data from the pdf in tabular format. Whenever a user clicks on the displayed row, I use a Regex to match the content from the pdf. But it highlights all the occurences. I want it to highlight just the one that has been clicked. Is there a way I can achieve this programatically?

1
  • Please provide enough code so others can better understand or reproduce the problem. Commented May 15 at 2:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.