Hi, I would like to add custom icon in grid which will open dropdown menu with some operations. Something like attached image. Any idea how to implement this with V8? Thank you.
Regards,
Matic
There are actually many options. It depends how tight your requirements are. Here are couple:
-
You can use SimpleSelectRenderer from [Grid Renderers collection]
(https://vaadin.com/directory/component/grid-renderers-collection-for-vaadin7) (there is Vaadin 8 version too) -
You can use ComponentColumn and use that to place a [PopupButton]
(https://vaadin.com/directory/component/popupbutton), and selection component that fits your needs in the popup. There is an example of adding Button in Grid column in the documentation here: https://vaadin.com/docs/v8/framework/components/components-grid.html Using PopupButton instead is analogous.