public static <S, T> Callback<TableColumn<S, T>, TableCell<S, T>> forTableColumn (ObservableList<T> items)

Creates a ComboBox cell factory for use in TableColumn controls. By default, the ComboBoxCell is rendered as a Label when not being edited, and as a ComboBox when in editing mode. The ComboBox will, by default, stretch to fill the entire list cell.

Parameters:
<T>    The type of the elements contained within the TableColumn.
items    Zero or more items that will be shown to the user when the ComboBox menu is showing. These items must be of the same type as the TableColumn. Note that it is up to the developer to set event handlers to listen to edit events in the TableColumn, and react accordingly. Methods of interest include setOnEditStart, setOnEditCommit, and setOnEditCancel.

Returns:  A Callback that will return a TableCell that is able to work on the type of element contained within the TableColumn.