Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Table column selector blank text
Hi,
I was wondering if there's a way to force a value for a column header to display in the column selector, and keep the column header blank. The 2 are closely related, but IMO it's useless to present the user with a blank value in the column selector.
Any solutions to this?
using Vaadin 6.5.7
Thank you,
JS.
The column header value and the column's property ID can be different.
When creating container property, use the following method:
public boolean addContainerProperty(Object propertyId,
Class<?> type,
Object defaultValue,
String columnHeader,
Resource columnIcon,
String columnAlignment)
defaultValue, columnAlightment, columnIcon etc. can be null.