Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem on setCellFactory and Pagination in TableView

 
Jc Frane
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day!

I have my tableview which set its item according to the number of page clicked in my pagination control.

I set one of my columns tablecell with this code:



What I want to happen is when at first setting the items in the table view the item with the value of "prod-2013-0001" which is in page 1 will turn to RED, but that was not happening.
In order for the cell to change its color, I have to click first the other pages then go back to page1.

To be more informative this is my code in my controller class:



Any suggestions?

Thank you in advance!
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!