This discussion is archived
1 Reply Latest reply: Nov 24, 2012 2:08 AM by drenda81 RSS

TextFieldCell in TableView

drenda81 Newbie
Currently Being Moderated
Hi guys,
I'd like to insert a TextField in a TableView. I dont' want that my TextField is replaced with a Label when the cell is not in edit mode. I'd like that the cell is always in edit mode.
I started from this code to implements myEditableCell: http://www.wobblycogs.co.uk/index.php/computing/javafx/100-javafx-2-generic-editable-table-cells but I have some problem.

Anyway I have several problems: for example I can't make the value of the textfiled is commited. So my observable objects that are store in table view.

Any idea of how I can implements this type of cell and if table view can support this type of logic?

Thanks!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points