-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DataTable] Added ability to control location of Totals row (#2200)
* Adjustments [DEV] * Introduced new logic for creating the footer markup * Refactored the rendering logic for header vs footer totals * Edited placement * Addded entry to unreleased * Update UNRELEASED.md Co-Authored-By: Dan Rosenthal <[email protected]> * Renamed prop * Changed prop name to be more action oriented * Updated unreleased * added test for getting codecov >90% * Renamed test for the new prop * renamed prop to the final showTotalsInFooter * Edited the markup to use a <tfoot> for the footer totals * Edited rendering logic for footer totals * Added example for the new totals prop in the readme * Added correct top border for a totals row in the footer
- Loading branch information
Showing
6 changed files
with
85 additions
and
2 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