Skip to content

0.2.1 - Grid<MyBean> columns in design file

Pre-release
Pre-release
Compare
Choose a tag to compare
@vaadin-miki vaadin-miki released this 05 May 12:28
· 3 commits to master since this release
d81249f

Recommended way to add columns to a vaadin-grid element is to add a custom attribute data-columns and then provide a space-separated list of property names, for example:

<vaadin-grid data-columns="property anotherProperty someOtherProperty"></vaadin-grid>

Those properties will be called with server-side Grid.addColumn(propertyName).