Skip to content

Commit 998926f

Browse files
committed
chore(adv-filtering): added headers to the grid filtering sample #5993
1 parent 374a909 commit 998926f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/grid-filtering/grid-filtering.sample.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ export class GridFilteringComponent implements OnInit, AfterViewInit {
7878

7979
this.columns = [
8080
{ field: 'ID', width: 80, resizable: true, movable: true, type: 'string' },
81-
{ field: 'CompanyName', width: 150, resizable: true, movable: true, type: 'string'},
82-
{ field: 'ContactName', width: 150, resizable: true, movable: true, type: 'string' },
81+
{ field: 'CompanyName', header: 'Company Name', width: 175, resizable: true, movable: true, type: 'string'},
82+
{ field: 'ContactName', header: 'Contact Name', width: 175, resizable: true, movable: true, type: 'string' },
8383
{ field: 'Employees', width: 150, resizable: true, movable: true, type: 'number' },
84-
{ field: 'ContactTitle', width: 150, resizable: true, movable: true, type: 'string' },
85-
{ field: 'DateCreated', width: 150, resizable: true, movable: true, type: 'date' },
84+
{ field: 'ContactTitle', header: 'Contact Title', width: 150, resizable: true, movable: true, type: 'string' },
85+
{ field: 'DateCreated', header: 'Date Created', width: 150, resizable: true, movable: true, type: 'date' },
8686
{ field: 'Address', width: 150, resizable: true, movable: true, type: 'string' },
8787
{ field: 'City', width: 150, resizable: true, movable: true, type: 'string' },
8888
{ field: 'Region', width: 150, resizable: true, movable: true, type: 'string' },
89-
{ field: 'PostalCode', width: 150, resizable: true, movable: true, type: 'string' },
89+
{ field: 'PostalCode', header: 'Postal Code', width: 150, resizable: true, movable: true, type: 'string' },
9090
{ field: 'Phone', width: 150, resizable: true, movable: true, type: 'string' },
9191
{ field: 'Fax', width: 150, resizable: true, movable: true, type: 'string' },
9292
{ field: 'Contract', width: 150, resizable: true, movable: true, type: 'boolean' }

0 commit comments

Comments
 (0)