handsontable / docs-archive

API Documentation for Handsontable
6 stars 507 forks source link

Add CSS To Scrollbar Docs #20

Open opticyclic opened 8 years ago

opticyclic commented 8 years ago

On http://docs.handsontable.com/0.19.0/demo-scrollbars.html it says:

If you want scrollbars, just set container width, height and overflow: auto in CSS. This demo shows table of 1000 rows and columns. Only visible part is rendered. Native div scrollbar is used to scroll through the table.

Can you add the CSS example because when I try the only way seems to be to set it on the handsontable items

.handsontable-container{
  overflow: scroll;
}
.ht_master{
  overflow: scroll;
}
AMBudnik commented 8 years ago

Hi @opticyclic here's the example.

The container is the div for you Handsontable instance, so if I use #example1 as my Handsontable container I have to add those styles to #example1