diff --git a/src/demo-app/table/table-demo.html b/src/demo-app/table/table-demo.html
index 0433ee7f1ad7..ba16cef3301e 100644
--- a/src/demo-app/table/table-demo.html
+++ b/src/demo-app/table/table-demo.html
@@ -65,7 +65,7 @@
CdkTable Example
+ mat-sort-header arrowPosition="before" disabled>
ID
{{row.id}}
@@ -228,7 +228,7 @@ MatTable With MatTableDataSource Example
- ID
+ ID
{{row.id}}
diff --git a/src/lib/sort/sort-header.html b/src/lib/sort/sort-header.html
index 4061041b1930..a2f6633d3ff9 100644
--- a/src/lib/sort/sort-header.html
+++ b/src/lib/sort/sort-header.html
@@ -1,6 +1,9 @@
`
})
@@ -232,6 +247,7 @@ class SimpleMatSortApp {
active: string;
start: SortDirection = 'asc';
direction: SortDirection = '';
+ disableSortF = true;
disableClear: boolean;
@ViewChild(MatSort) matSort: MatSort;
@@ -246,7 +262,6 @@ class SimpleMatSortApp {
}
}
-
class FakeDataSource extends DataSource {
connect(collectionViewer: CollectionViewer): Observable {
return map.call(collectionViewer.viewChange, () => []);