This page shows how to configure Handsontable scrollbars:
If the table content is not as wide as the container width, the table will be stretched to the container
width. The default horizontal stretch model is to stretch the last column only (by using stretchH:
'last'
option).
Other possible stretch modes are all
(stretches all columns equally, used in the below example)
and none
(not stretching).
Sometimes you don't want if horizontal scroll bar will be needed. That's why stretchH: 'hybrid'
is the default column stretching mode
When horizontal scrollbar is NOT visible, it acts as stretchH: 'none'
. When horizontal scrollbar is visible, it acts as stretchH: 'last'
.
For more examples, head back to the main page.
Handsontable © 2012 Marcin Warpechowski and contributors.
Code and documentation
licensed under the The MIT License.