Adding documentation for new data-table options

master
Sérgio Gomes 2015-12-15 11:26:36 +00:00
parent 62af49cd65
commit d27f47fd28
1 changed files with 2 additions and 1 deletions

View File

@ -186,6 +186,7 @@ The MDL CSS classes apply various predefined visual and behavioral enhancements
| `mdl-data-table` | Defines table as an MDL component | Required on table element|
| `mdl-js-data-table` | Assigns basic MDL behavior to table | Required on table element|
| `mdl-data-table--selectable` | Applies all/individual selectable behavior (checkboxes) | Optional; goes on table element |
| `mdl-data-table__header--sorted-ascending` | Applies visual styling to indicate the column is sorted in ascending order | Optional; goes on table header (`th`) |
| `mdl-data-table__header--sorted-ascending` | Applies visual styling to indicate the column is sorted in descending order | Optional; goes on table header (`th`) |
| `mdl-data-table__cell--non-numeric` | Applies text formatting to data cell | Optional; goes on both table header and table data cells |
| (none) | Applies numeric formatting to header or data cell (default) | |