This is a pure javascript solution to make a standard table component scrollable both horizontally and vertically with fixed headers. Simply drop it on a page and supply the ID of your table and a either a pixel height or a height percentage. Remove any paging, set your MaxRecords to infinity+1, and scroll away.
You can also supply options to specify horizontal and vertical scrollability as well as a comma-delimited string to specify column widths.
This was designed for reactive web and has not been tested with mobile.
All feedback is welcomed!
- Bug fixes
- Removed requirement to place component in a certain area on the page
- Added feature to specify height in percentage
- Remove unused dependencies from demo