阅读背景:

JavaFX 2 TableView:不同的cell工厂取决于单元内的数据。

来源:互联网 

I am trying to use the table view to render / edit the "key = value" pairs. So the table is supposed to have two columns : "key" and "value". Key is just a normal string, and value can be anything. My problem is that the data type of the values can be different from row to row. Basically, I wanted to use checkboxes for boolean values and choices for lists. I have found a way to render the whole table column with checkboxes or choices by setting the cell factory:I am trying to use the table view to render / e




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: