How to replace generated column in table when editing

Hi

I have a Bean with another Bean in it. When displaying this in a table I’m using a generated column to display one value from the included Bean. However when editing the table I would like to replace the generated column with a combo box. I thought I could do it with a FieldFactory however the FieldFactory is only called for non-generated columns. Is there a way around this?

Kind Regards

Mikael

Hi Mikael,

Would it be possible for you to return different components from the column generator depending on what Table.isEditable() returns?

You should even be able to delegate the construction of the component(s) to the field factory from the column generator.

HTH,
/Jonatan