Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vaadin How to make the table header invisible

Tags:

vaadin

I have a requirement where i need to display patients schedule details in tabular form. But I should not display the table column headers instead I will have a panel with some navigation arrows and a date field where in i have display the patients data according to some navigation rules. And also each table row should expand when user selects a row displaying additional information about that pirticular patient.

Is it possible to display a table without table column headers, and with expandable table rows in Vaadin. I am quite new to vaadin so any help is greatly appreceated.

Regards Ajay

like image 716
Ajay bathula Avatar asked Dec 22 '22 13:12

Ajay bathula


1 Answers

Yes, it is possible to display a table without column headers.

Please use the method setColumnHeaderMode with Table.COLUMN_HEADER_MODE_HIDDEN as argument.

for example:

Table aTable=new Table(); ... aTable.setColumnHeaderMode(Table.COLUMN_HEADER_MODE_HIDDEN);

like image 91
CRH Avatar answered Dec 31 '22 14:12

CRH