In javafx how do I capture the column title click event to organize the records?

Asked

Viewed 255 times

1

I have a tableView and this one has five columns. The first two columns are written with records I took from the database and the other three are just buttons I insert at the time of table creation.

I created an event so that the table buttons only appear when I click on the corresponding record. that’s the problem. When I click to organize the table these buttons that were to appear with the current index do not appear instead the event keeps the previous order, ie it shows the buttons of the list in the previous index that the record was :/.

I know I can solve this problem by calling the method responsible for the action to appear and disappear from the buttons, but this after I organize the column.

Returning to the core question of the question.

How I add an event by clicking on a column title in a table in javafx?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.