Push DataProvider in Template Grid

I’m experimenting with pushing data to a vaadin-grid. I have a non-templated version working fine using @Push, a DataProvider and a pure server-side code implementation. I’m now trying to achieve the same thing using the template approach. I set the DataProvider on the grid as follows:

	@Id("entryGrid")
	private Grid<Entry> priceGrid;

	@Override
	protected void onAttach(AttachEvent attachEvent) {
		grid.setDataProvider(mutableListDataProvider);

This seems to be working as I get the correct number of entries in the grid as indicated by the [[index] ] values displayed in the first column of each row. However the remaining columns templated as [[item.someProperty] ] are blank. Should this work?

Hi,

Configuring the Grid component by using templates is currently not supported by Flow.

You can however declare a vaadin-grid in your template (without columns), map it to your PolymerTemplate class with @Id, as you are doing, and then add columns to it and set the items (or DataProvider).