Is there a way to add different components(Combobox/TextField) to a single column according to other properties’ value of a row in a table?
Hi,
Yes. Using the parameters passed to createField method (Container container, Object itemId, Object propertyId,
Component uiContext), you can inspect other properties of the same row, then just conditionally configure/choose the field.
BTW. In many cases using ColumnGenerator instead of editable Table is more flexible. Then you can e.g. return Label (which is not Field) in some cases and a TextField in other.
cheers,
matti