-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purge @finos/perspective-viewer-hypergrid
#991
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you - the refactor articulates the new datagrid API in a much more extensible way.
Will update the *** Under Construction *** in upcoming commits.
| `--d3fc-full--gradient`<br/>`--highcharts-full--gradient` | The color gradient for [-, +] ranges on numeric columns. | | ||
| `--d3fc-positive--gradient`<br/>`--highcharts-positive--gradient` | The color gradient for [+, +] ranges on numeric columns. | | ||
| `--d3fc-negative--gradient`<br/>`--highcharts-negative--gradient` | The color gradient for [-, -] ranges on numeric columns. | | ||
*** Under Construction *** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything specific you would like added here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - this API has not been removed, but the new @finos/perspective-viewer-datagrid
package has much easier ways to achieve these ends. While the prose documentation for these have not been written, there are a few good examples in the simple
example project that will serve as the basis for this section in the future.
} | ||
|
||
/** | ||
* Appends the default tbale CSS to `<head>`, should be run once on module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbale typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may be interested in this PR/package :) webpack/webpack#10548
… by batching calls to `offsetWidth`
…g in output if `start_row` was a hidden column
This PR principally removes reference to the
@finos/perspective-viewer-hypergrid
module in the project documentation, website and examples, with two exceptions:While pursuing this, several improvements were made to
@finos/perspective-viewer-datagrid
, discovered in due course of trying to reimplement all examples and the website without Hypergrid:disable-virtual-datagrid
attribute, which (for now) allows the developer to disable@finos/perspective-viewer-datagrid
viewport virtualization. While this will tank performance for large datasets, it makes it easy to use CSS to change the geometry of the datagrid, such as this IEX Cloud powered transposed grid example.Fixes scroll position to remain at the same 'virtual' point on schema-preserving changes such as sort.
Fixes autosize bug when column group headers are wider than their underlying columns.
Fixes an obscure scroll bug when "hidden" sort by columns interplay with column groups.
Refactors
@finos/perspective-viewer-datagrid
into much more manageable modules, and adds quite alot of documentation and ASCII art.Also - adds a "radical" new
README.md
"Examples" section.