Releases: predixdesignsystem/px-data-table
Style the deprecation comment
Merge pull request #213 from predixdesignsystem/update-datagrid-comment Updated style and message for px-data-table and px-data-grid reference
Design Refresh
- The "rows per page" dropdown has been updated to use px-dropdown for cross-browser consistency (#115).
- When a custom
pageSize
value is passed into the table, it will be displayed as the selected choice in the "rows per page" dropdown (#118). - A new property for
pageSizeOptions
has been added, which allows developers to specify their own array of options for the "rows per page" dropdown (#123). Add the same option to bothpageSize
andpageSizeOptions
to make it both the default choice as well as a persistent option. - The
tableRows
property has been removed, as horizontal borders are now the default style for Predix UI tables. It has been replaced with atableCells
property, which can be used to create the previous default style, a table with both horizontal and vertical borders.
Replace pxLocalizeBehavior with appLocalizeBehavior for localization
Move to Polymer app localize behavior for localization support.
Lots of fixes
This is not an API-breaking release per-se, but does change the behavior of px-data-table-column
declarations a bit. Previously, if one or more columns was declared, only those columns would show up. After v2.0.0, if include-all-columns
is set to true, the table will first pick up all of the columns found in table-data
, then override default settings for any provided column definitions. There is also a new table level property for sortable
and a single-select
property for selection of individual rows. Be sure to refer to the API documentation and demo for more information.
Fixes table stripe row issue.
Fix for #81
Fix for error with auto-generated columns with white spaces in names.
See #70 for more information.
Add page-size property to allow user to configure initial table row size.
See #54 for further information.
Add image of the component to the readme.
v1.12.3 added image to readme
Fixes to allow re-cycling of existing data table element with new data
Please see #44 for more details.
Select element height fix in Chrome 54 and above
See here for details: #43