docs(table component): Fix section ordering (#13947)

In the "Overview" tab of the `mat-table` directive, the "Selection" feature documentation is currently split over the "Footer row" one.
This fixes it.
This commit is contained in:
Anthony Drogon
2018-11-07 19:03:25 +00:00
committed by vivian-hu
parent 78998638d3
commit bcc540c291
+13 -13
View File
@@ -257,6 +257,19 @@ masterToggle() {
}
```
##### 4. Include overflow styling
Finally, adjust the styling for the select column so that its overflow is not hidden. This allows
the ripple effect to extend beyond the cell.
```css
.mat-column-select {
overflow: initial;
}
```
<!--- example(table-selection) -->
#### Footer row
A footer row can be added to the table by adding a footer row definition to the table and adding
@@ -279,19 +292,6 @@ data rows.
<!--- example(table-footer-row) -->
##### 4. Include overflow styling
Finally, adjust the styling for the select column so that its overflow is not hidden. This allows
the ripple effect to extend beyond the cell.
```css
.mat-column-select {
overflow: initial;
}
```
<!--- example(table-selection) -->
#### Sticky Rows and Columns
By using `position: sticky` styling, the table's rows and columns can be fixed so that they do not