Reputation: 1921
Is there a way to add an eventhandler to a ListView on pressing enter, like setOnAction for a TextField?
setOnAction
Upvotes: 0
Views: 1025
Reputation: 5897
You need to add an setOnKeyPressed() and filter for the "return" key
Upvotes: 1