dataGrid selection render interact


We have a dataGrid with custom complexe column render. We use columnGenerator to render it.

@Install(to = “…”, subject = “columnGenerator”)
private Component …ColumnGenerator(DataGrid.ColumnGeneratorEvent columnGeneratorEvent) {

// custom add label buton …

The render permit to call screen, do some other action …

Is it possible on Grid row selection, get component of column generate ?
we want on Grid’s select hide some part of component genrate … At this time we do it by css but is not a secure.

Thx for your answser,


Unfortunately, there is no API to get component from the generated column.

See How to Get Components in GeneratedColumn

You can only implement custom logic that will store generated components. Pay attention that every time a row is selected a coresspocing column generator is called.