mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
vivian-hu
parent
78998638d3
commit
bcc540c291
+13
-13
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user