Forum Stats

  • 3,827,853 Users
  • 2,260,831 Discussions
  • 7,897,398 Comments

Discussions

Specific Highlighting in JavaFx TableCell

Hello, I have a table of 12 columns and i want to do the following:

once clicked in any of the cells of the last ten columns highlight the specific letters or numbers in a string in column 2. Kind of a searcher of sorts. Only put color in the the specific elements of the string.

From my knowledge Javafx in the cellrenderer has settextfill but that does the whole cell. I also tried stringbuilder but it doesn't work on the tableview.

What do you think?

Letters or numbers of a string property of a cell in the table.