-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * feat: Data Table: Hide data table columns Added hidden property on columns to keep certain columns from being displayed or searched on in the filterData method. Also added unit tests for table and updated documentation. Closes #511 * fixing linting * using refresh method on datatable in demo to force change detection from data change * fix for backward compatability on filterData, fixing unit tests, backwards compatability test, and updating demo to toggles instead of buttons * changing toggle label to Hide calories on demo * updating parameter on filterdata to excludedColumns, changing label in unit test file, updating demo with latest API changes * updating documentating with correct parameter name, excludedColumns * removing undefined check for hidden parameter * removing undefined check for hidden parameter * chore(data-table): remove the undefined hidden case from unit tests * chore(data-table): refactoring unit tests to use one component also check for hidden in the hidden use case * chore(data-table): refactor and minimize unit test even more added comments in certain places too
- Loading branch information
1 parent
d4d90a2
commit 0ccb191
Showing
6 changed files
with
95 additions
and
53 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