Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
vaadin-grid button columns
Hello ...
I have tried to build a small web application with vaadin-grid and Polymer today.
Now I need to add a column with buttons (paper-button or vaadin-button if exists) inside my grid.
This is my Code so far:
<template is="dom-bind" id="app">
<iron-ajax auto
url="/api/grid/data"
handle-as="json"
method="POST"
last-response="{{gridItems}}"
debounce-duration="300"></iron-ajax>
<vaadin-grid id="grid" items="{{gridItems}}" selection-mode="multi">
<table>
<colgroup>
<col name="FNR" resizable/>
<col name="Planinhalt" resizable/>
<col name="Geschoss" resizable/>
<col name="Maßstab" resizable/>
<col name="Region" resizable/>
<col name="Gebiet" resizable/>
<col name="PLB" resizable/>
<col name="File"/>
</colgroup>
</table>
</vaadin-grid>
</template>
I used iron-ajax like in the tutorial video to load my items and bind it to my grid .
So what would be the recommended way to add a column which holds a button for each row ?
Hi,
Tomi answered a similar question just recently, with examples for both vaadin-grid 1.x and 2.0-pre versions: https://vaadin.com/forum/#!/thread/14377885/14382342
You should be able to follow the examples there and replace the checkboxes with buttons instead.