height of vaadin table

Hello people,

I am making a vaadin table right now, and i want to set the height and its width by using

setHeight( ) and setWidth( ) .
I also put a screenshot of my table.

My questions are:

  1. how can i make the table so that user can’t sort the column and can’t modify the width of a column?
  2. how can i make the separate line between column longer to the bottom of the table?? (In the forum, we can see that the items are not so much, so there is still a space between the last item and the table bottom line)

Can anyone please help me?
12346.jpg

(1) Have a look at the table API:
setSortDisabled, setColumnWidth, setColumnExpandRatio
(2) Not sure that is possible. However, instead of using setHeight, you could use setPageLength