Vertical and horizontal scrollbars

If you want scrollbars, just set container width, height and overflow: scroll in CSS.

Single scrollbar (stretchH last column)

It is also possible to configure only a single scrollbar. The following example creates one by specifying only the container height and overflow: auto in CSS.

Single scrollbar (stretchH all columns)

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).

Single scrollbar (stretchH none - default)