-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use orthogonal data for DataTables (#865)
* Use orthogonal data for DataTables Instead of assigning HTML directly as data, we can use assign an object with the following keys: - display - The display value of the data (same as what we had) - filter - Value used for filtering (e.g. SearchBuilder) - order - Value used for sorting This will make DataTables easier to expand in the long run. Since we can assign different attributes to the data. Also fixes #831 * Drop any-number from DataTables We don't need it anymore because values are assigned a sorting key * Remove datatables-columns.type as we do not need it anymore * Use sort instead of order for key name * Ensure that dataValues[0] exists in SortKey
- Loading branch information
1 parent
783f410
commit b40de8d
Showing
7 changed files
with
33 additions
and
76 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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.