Hi, I try to use the latest version in V8. But when I add a column, nothing

Hi, I try to use the latest version in V8.
But when I add a column, nothing is shown, so this

variableGrid
.addColumn( VariableAdministrationData::isWeightedFrequencyTable,
new CheckboxRenderer<>( VariableAdministrationData::setWeightedFrequencyTable ) )
.setCaption( “Yes” )
.setEditorComponent( new CheckBox(), VariableAdministrationData::setWeightedFrequencyTable )
.setEditable( true );

or this
BooleanSwitchRenderer booleanRenderer = new BooleanSwitchRenderer<>(
VariableAdministrationData::setWeightedFrequencyTable, “true”, “false” );
booleanRenderer.addItemEditListener( event → {
logger.debug( “Boolean switched: {}”, event.getNewValue() );
} );
variableGrid.addColumn( VariableAdministrationData::isWeightedFrequencyTable,
booleanRenderer )
.setCaption( “Non-Weighted Frquency Table” );

example is not working. I compiled theme and widgetset.

Any help would be appriciated.

regards,
Peter

Claus-Peter Klas:
I try to use the latest version in V8. But when I add a column, nothing is shown

Have you tried to setup the Grid without renderers first and checked that you see something (like object references or default toString presentation of the objects). By doing this you can verify that your data sources are correctly set up.

Hello,
sure. I have a simple Grid working, but when I add the additional columns, everything is empty:
private Grid variableGrid;
variableGrid = new Grid<>();
variableGrid.setDataProvider( new ListDataProvider<>( variableListToBeStored ) );
variableGrid.addColumn( v → getLabel( v ) ).setCaption( “Label” );
variableGrid.addColumn( v → getName( v ) ).setCaption( “Name” );

I am not yet able to figure out what could be your problem. If you can create simplified test app and share it, it could help to investigate the problem.