EvHaus / doby-grid

An HTML table element on steroids.
Other
14 stars 5 forks source link

Add option to display gutters #183

Closed mminer closed 9 years ago

mminer commented 9 years ago

As requested in #180, this adds an option to display a margin around the grid so that it's not flush with the scrollbar.

I tried a number of different approaches, eventually settling on additional divs that overlay the grid and adding extra margins around the header and grid body so that all content is still visible. The gutters are repositioned via JavaScript during scroll events. Whether this aesthetically the best solution is up for discussion.

I added a new example page but no test yet.