JavaFx use String with Double on table column

前端 未结 2 1681
渐次进展
渐次进展 2020-12-11 11:07

I have a class called \"Product\", with a double attribute \"price\". I\'m showing it on a table column inside a table view, but i wanted to show the price formatted -- \"US

2条回答
  •  甜味超标
    2020-12-11 11:30

    If you have not, read this together with @James_D post.

    https://docs.oracle.com/javafx/2/ui_controls/table-view.htm

提交回复
热议问题