Adding a simple checkbox into a Grid

​I am having trouble adding a checkbox into a grid column: I am using the add-on “Grid Renderers collection For Vaadin7”, but is bot behaving the way I need it…

What would be the simplest way to add a CheckBox into a column of a Grid? I need only basic functionality: like in the Valo example for table (when the check box “Components in Cells” is selected) : https://demo.vaadin.com/valo-theme/#!tables

Thank you for any help…

Something like this?

[code]
IndexedContainer ic = new IndexedContainer();
ic.addContainerProperty(“columnId”, Boolean.class, false);
Item i = ic.addItem(new Object());

Grid grid = new Grid(ic);
grid.getColumn(“columnId”).setRenderer(new CheckboxRenderer());
grid.setColumnReorderingAllowed(true);
grid.setEditorEnabled(true);
layout.addComponent(grid);
[/code]Be sure you compile and deploy your widgetset before you attempt to use the Grid Renderers add-on, as the client side will not work without this.