The first version of the grid we put out was missing some basic functionality that this PR aims to provide:
auto-dirty when called externally. When changing data or geometry and re-calling the grid, it will refresh accordingly (it'll drop all internal caches)
Expose a D3 idiomatic event API, with the the first basic events: draw and visible-lines-change.
More robust scroll.
Motivation and Context
This is part of a series of changes to accrue a sensible set of basic features for the grid.
Future PRs will bring in selection and filtering.
How Was This Tested?
This can be tested using the provided examples/browser.html rig.
Offline tests have also been done by me -- but, of course, you'll have to take my word for it!
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My change follows the style of this project
[x] My change requires a change to the documentation
Description
The first version of the grid we put out was missing some basic functionality that this PR aims to provide:
auto-dirty
when called externally. When changing data or geometry and re-calling the grid, it will refresh accordingly (it'll drop all internal caches)draw
andvisible-lines-change
.Motivation and Context
This is part of a series of changes to accrue a sensible set of basic features for the grid. Future PRs will bring in selection and filtering.
How Was This Tested?
This can be tested using the provided
examples/browser.html
rig. Offline tests have also been done by me -- but, of course, you'll have to take my word for it!Types of changes
Checklist: