From 363bf24db344963043fa2b86df72067f8d6222e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Toledo=20Navarro?= Date: Wed, 31 May 2017 02:14:49 +0200 Subject: [PATCH] fixed(docs): missing properties on data table documentation (#646) * Added missing selectedRows property on the component description. Closes #441 --- .../components/components/data-table/data-table.component.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/components/components/data-table/data-table.component.html b/src/app/components/components/data-table/data-table.component.html index 3ec7495b68..0661024791 100644 --- a/src/app/components/components/data-table/data-table.component.html +++ b/src/app/components/components/data-table/data-table.component.html @@ -267,6 +267,7 @@

No results to display.

[multiple]="multiple" [sortable]="true" [sortBy]="sortBy" + [(ngModel)]="selectedRows" [sortOrder]="sortOrder" (sortChange)="sort($event)"> @@ -305,6 +306,7 @@

No results to display.

currentPage: number = 1; pageSize: number = 5; sortBy: string = 'sku'; + selectedRows: any[] = []; sortOrder: TdDataTableSortingOrder = TdDataTableSortingOrder.Descending; constructor(private _dataTableService: TdDataTableService) {}