DataGrid addGeneratedColumn don't show component in all rows

Hi,
I create a datagrid with generated column function that return textField component.

importAnagrasTable.addGeneratedColumn(“fullName”, new DataGrid.ColumnGenerator<ImportAnagra, Component>() {
@Override
public Component getValue(DataGrid.ColumnGeneratorEvent event) {
TextField field = uiComponents.create(TextField.class);
field.setFocusable(true);
field.setEnabled(true);
field.setWidth(“100px”);

                field.setEnabled(true);
                field.setEditable(true);
                field.setValue("1");
                field.setVisible(true);

            return field;
        }

        @Override
        public Class<Component> getType() {
            return Component.class;
        }
    }).setRenderer( importAnagrasTable.createRenderer(DataGrid.ComponentRenderer.class));

In my screen the generated column component is displayed only on last row.
I haven’t error in catalina but If my table have five rows only the last row display the component.
What’s the problem?
Can you help me?
Thank’s
Mirko

Could you please provide us the project(zip) file for more clear understanding of the issue?

Regards, Ilia Morenov.

Hi llia Morenov ,

I solved the problem by putting an ID on the table.

Thank you.