grid component renders

I’m using vaadin 12.0.7 and having trouble with component renders.

I’ve found multiple examples but none of them work.
The column is rendered as is the heading but the cell is empty.

I’ve tried:

	
		entityGrid.addColumn(new ComponentRenderer<>(ComboBox<String>::new, (comboBox, nodule) -> {

	        })).setHeader("ID");



		// entityGrid.addColumn(new ButtonRenderer("HI"));

		entityGrid.addColumn(new ComponentRenderer<>(person ->
			{

				// text field for entering a new name for the person
				TextField name = new TextField("Name");
				name.setValue(person.getGuid());

				// button for saving the name to backend
				Button update = new Button("Update", event ->
					{

						entityGrid.getDataProvider().refreshItem(person);
					});

				// button that removes the item
				Button remove = new Button("Remove", event ->
					{

					});

				// layouts for placing the text field on top of the buttons
				HorizontalLayout buttons = new HorizontalLayout(update, remove);
				return new VerticalLayout(name, buttons);
			})).setHeader("Actions");

		entityGrid.addColumn(new ComponentRenderer<>(item ->
			{
				Button editButton = new Button("Edit");
				return editButton;
				// return buildEditButton(item);
			}))
				.setHeader("Edit");


None of these techniques work.

Am I doing something wrong?

Does vaadin 12 actually have working renderers?
The doco seems to say so but after a couple of hours of trying every option I can find I’ve had no luck.

Vaadin 12 is deprecated, have you tried 13.0.3 ?

I’m about to report a 13 bug.

As soon as I upgrade to 13 I’m getting a stack overflow when log4j is instantiated. But I will post that in another thread.

I should note that whilst the native button renders the label doesn’t appear, except for once in about 20 page views. Very strange.

Might be similar to this bug:
https://github.com/vaadin/vaadin-grid-flow/issues/587

I don’t think thats my issue as I’m not dynamically adding content.

I’m simply adding the button when I initially build the grid.

I’ve just upgraded to 13.0.3 and I’m still having the same problem.

Will try and put together a simplified example.

I’ve created the attached minimal gradle project that demonstrates the problem.
17602403.zip (56.1 KB)

I’ve submitted a bug report with screen shots here:

https://github.com/vaadin/vaadin-grid-flow/issues/616