Grid checkbox

What is the best way to add a check box to Vaadin 7 Grid? I see this [here]
(, but it did not work in buffered mode in an ideal way. The other one I found was [here]
(, and I am still trying to figure it out.

A boolean renderer would work as well, I suppose. I just need to be able to enter edit mode, make some changes, and then click “save” to save that lines changes to the DB.