-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Abstract Data Container (#1555)
- DataContainerInterface defines how a data container should look like. - RowDataContainer stores data internally as any[][] (the same way the data was stored with allData). - IndexedDataContainer can be used to filter the parent data container. - KeplerTable.allData is substituted with KeplerTable.dataContainer. Most of the places that expected any[][] now expect a dataContainer. - Data literal objects like {data: allData[index], index} now look like {index} - Data container is provided to all accessors as a separate argument: -- in layers: (config.columns) => (dataContainer) => (dataElement) => [] -- in filterValueAccessor: (dataContainer) => (getData, getIndex) => (dataElement) => [] Signed-off-by: Igor Dykhta <dikhta.igor@gmail.com> Signed-off-by: Xun Li <lixun910@gmail.com>
- Loading branch information
1 parent
efb9341
commit 7f4a78a
Showing
78 changed files
with
1,761 additions
and
653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.