diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 4983ea6a6f3..453c2f4c631 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,6 +37,7 @@ jobs: npm run test:lib:grid npm run test:lib:hgrid npm run test:lib:tgrid + npm run test:styles npm run test:schematics env: NODE_OPTIONS: --max_old_space_size=4096 diff --git a/.travis.yml b/.travis.yml index 9203261226d..93d25c2665f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ script: - if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:grid; fi - if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:tgrid; fi - if [ -z "${TRAVIS_TAG}" ]; then npm run test:lib:hgrid; fi +- if [ -z "${TRAVIS_TAG}" ]; then npm run test:styles; fi - if [ -z "${TRAVIS_TAG}" ]; then npm run test:schematics; fi ## Use only Github actions for publishing coveralls.io status #- if [ -z "${TRAVIS_TAG}" ]; then istanbul-combine -d coverage -p none -r lcov -r html coverage/hierarchical-grid/coverage-final.json coverage/tree-grid/coverage-final.json coverage/non-grid/coverage-final.json coverage/grid/coverage-final.json; fi diff --git a/CHANGELOG.md b/CHANGELOG.md index a1913931d18..dea33b64d44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes for each version of this project will be documented in this ### New Features - `IgxDropDown` - The `igx-drop-down-item` now allows for `igxPrefix`, `igxSuffix` and `igx-divider` directives to be passed as `ng-content` and they will be renderer accordingly in the item's content. +- `IgxGrid` + - Added support for exporting grouped data. ### General - `IgxDialog` - The dialog content has been moved inside the dialog window container in the template. This means that if you have added something in-between the opening and closing tags of the dialog, you may have to adjust its styling a bit since that content is now rendered inside a container that has padding on it. diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 841216f0f0c..00ed238c85f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,6 +38,9 @@ steps: env: NODE_OPTIONS: "--max_old_space_size=4096" +- script: npm run test:styles + displayName: 'Run styling library tests' + ## Use only Github actions for publishing coveralls.io status # - script: istanbul-combine -d coverage -p none -r lcov -r cobertura coverage/hierarchical-grid/coverage-final.json coverage/tree-grid/coverage-final.json coverage/non-grid/coverage-final.json coverage/grid/coverage-final.json # displayName: 'Combine coverage results' diff --git a/package-lock.json b/package-lock.json index 8a4c2fb6fb4..b554bfbc4bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4558,7 +4558,7 @@ }, "callsites": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "resolved": "http://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", "dev": true }, @@ -5363,7 +5363,7 @@ "dependencies": { "bluebird": { "version": "2.11.0", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", + "resolved": "http://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=", "dev": true } @@ -9550,7 +9550,7 @@ }, "kind-of": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz", "integrity": "sha1-FAo9LUGjbS78+pN3tiwk+ElaXEQ=", "dev": true }, @@ -12642,6 +12642,18 @@ "lodash._root": "^3.0.0" } }, + "lodash.find": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.find/-/lodash.find-4.6.0.tgz", + "integrity": "sha1-ywcE1Hq3F4n/oN6Ll92Sb7iLE7E=", + "dev": true + }, + "lodash.foreach": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz", + "integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=", + "dev": true + }, "lodash.identity": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/lodash.identity/-/lodash.identity-2.4.1.tgz", @@ -12692,6 +12704,12 @@ "lodash.isarray": "^3.0.0" } }, + "lodash.last": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash.last/-/lodash.last-3.0.0.tgz", + "integrity": "sha1-JC9mMRLdTG5jcoxgo8kJ0b2tvUw=", + "dev": true + }, "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", @@ -13737,7 +13755,7 @@ }, "ncp": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ncp/-/ncp-1.0.1.tgz", + "resolved": "http://registry.npmjs.org/ncp/-/ncp-1.0.1.tgz", "integrity": "sha1-0VNn5cuHQyuhF9K/gP30Wuz7QkY=", "dev": true }, @@ -13940,7 +13958,7 @@ }, "semver": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "resolved": "http://registry.npmjs.org/semver/-/semver-5.3.0.tgz", "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", "dev": true }, @@ -15436,7 +15454,7 @@ "dependencies": { "ansi-colors": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", + "resolved": "http://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==", "dev": true, "requires": { @@ -15522,7 +15540,7 @@ "dependencies": { "async": { "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz", "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", "dev": true } @@ -17906,6 +17924,19 @@ } } }, + "sass-true": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/sass-true/-/sass-true-5.0.0.tgz", + "integrity": "sha512-Q2HONu8QJcx8Lsdn8RqSHRGGB0aPlqCpXMDONtuXedaNIecz6QD3NCwkZiR4mprr5ZDiFcZwYT6fHDbyBXmDLQ==", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "css": "^2.2.1", + "lodash.find": "^4.6.0", + "lodash.foreach": "^4.5.0", + "lodash.last": "^3.0.0" + } + }, "sassdoc": { "version": "2.7.3", "resolved": "https://registry.npmjs.org/sassdoc/-/sassdoc-2.7.3.tgz", @@ -18150,7 +18181,7 @@ }, "jsonfile": { "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "dev": true, "requires": { @@ -18798,7 +18829,7 @@ }, "engine.io-client": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", + "resolved": "http://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", "integrity": "sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==", "dev": true, "requires": { @@ -18882,7 +18913,7 @@ }, "socket.io-parser": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz", + "resolved": "http://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz", "integrity": "sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==", "dev": true, "requires": { @@ -20631,7 +20662,7 @@ }, "jsonfile": { "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", "dev": true, "requires": { diff --git a/package.json b/package.json index 8be2b28e22f..07ab9c05579 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "test:lib:azure:others": "ng test igniteui-angular --watch=false --no-progress --karma-config=./projects/igniteui-angular/karma.azure.non-grid.conf.js --tsConfig=./projects/igniteui-angular/tsconfig.ivy.false.spec.json", "test:lib:watch": "ng test igniteui-angular", "test:schematics": "ts-node --project projects/igniteui-angular/migrations/tsconfig.json ./node_modules/jasmine/bin/jasmine.js ./projects/igniteui-angular/migrations/**/*.spec.ts ./projects/igniteui-angular/schematics/**/*.spec.ts", + "test:styles": "ts-node --skip-project ./node_modules/jasmine/bin/jasmine.js ./projects/igniteui-angular/src/lib/core/styles/spec/tests.ts", "build:lib": "ng build igniteui-angular --prod && gulp buildStyle", "build:style": "gulp buildStyle", "build:migration": "gulp copyMigrations && tsc --listEmittedFiles --project ./projects/igniteui-angular/migrations/tsconfig.json", @@ -73,6 +74,11 @@ "devDependencies": { "@angular-devkit/build-angular": "~0.1100.0", "@angular-devkit/schematics": "^11.0.0", + "@angular-eslint/builder": "0.8.0-beta.5", + "@angular-eslint/eslint-plugin": "0.8.0-beta.5", + "@angular-eslint/eslint-plugin-template": "0.8.0-beta.5", + "@angular-eslint/schematics": "^0.8.0-beta.5", + "@angular-eslint/template-parser": "0.8.0-beta.5", "@angular/cli": "~11.0.0", "@angular/compiler-cli": "^11.0.0", "@angular/language-service": "^11.0.0", @@ -81,9 +87,15 @@ "@types/jasminewd2": "^2.0.8", "@types/node": "^12.12.39", "@types/webpack-env": "^1.15.2", + "@typescript-eslint/eslint-plugin": "4.3.0", + "@typescript-eslint/parser": "4.3.0", "browser-sync": "^2.26.12", "codelyzer": "^6.0.0", "coveralls": "^3.1.0", + "eslint": "^7.6.0", + "eslint-plugin-import": "2.22.1", + "eslint-plugin-jsdoc": "30.7.6", + "eslint-plugin-prefer-arrow": "1.2.2", "gulp": "^4.0.2", "gulp-cached": "^1.1.1", "gulp-concat": "^2.6.1", @@ -112,6 +124,7 @@ "ng-packagr": "^11.0.3", "pngcrush": "^2.0.1", "protractor": "~7.0.0", + "sass-true": "^5.0.0", "sassdoc": "^2.7.3", "sassdoc-plugin-localization": "^1.4.1", "stylelint": "^11.1.1", @@ -122,17 +135,6 @@ "typedoc": "^0.17.7", "typedoc-plugin-localization": "^2.2.1", "typescript": "~4.0.2", - "webpack-sources": "1.3.0", - "eslint": "^7.6.0", - "eslint-plugin-import": "2.22.1", - "eslint-plugin-jsdoc": "30.7.6", - "eslint-plugin-prefer-arrow": "1.2.2", - "@angular-eslint/builder": "0.8.0-beta.5", - "@angular-eslint/eslint-plugin": "0.8.0-beta.5", - "@angular-eslint/eslint-plugin-template": "0.8.0-beta.5", - "@angular-eslint/schematics": "^0.8.0-beta.5", - "@angular-eslint/template-parser": "0.8.0-beta.5", - "@typescript-eslint/eslint-plugin": "4.3.0", - "@typescript-eslint/parser": "4.3.0" + "webpack-sources": "1.3.0" } } diff --git a/projects/igniteui-angular/src/lib/carousel/carousel.component.html b/projects/igniteui-angular/src/lib/carousel/carousel.component.html index 906322b8429..a6d02e485a2 100644 --- a/projects/igniteui-angular/src/lib/carousel/carousel.component.html +++ b/projects/igniteui-angular/src/lib/carousel/carousel.component.html @@ -21,30 +21,32 @@ - -
+
- {{getCarouselLabel}} + {{getCarouselLabel}}
- + + Grid Toolbar + + + + @@ -25,8 +31,8 @@
- Toolbar - Column Pinning + Toolbar + Column Pinning Row Selectors Right/Left Column Pinning toggle Top/Bottom Row Pinning toggle diff --git a/src/app/grid-column-pinning/grid-column-pinning.sample.ts b/src/app/grid-column-pinning/grid-column-pinning.sample.ts index bd8ea5042f1..08a6f60d809 100644 --- a/src/app/grid-column-pinning/grid-column-pinning.sample.ts +++ b/src/app/grid-column-pinning/grid-column-pinning.sample.ts @@ -33,6 +33,8 @@ export class GridColumnPinningSampleComponent implements OnInit { data: any[]; columns: any[]; + showToolbar: true; + pinningEnabled: true; onChange() { if (this.pinningConfig.columns === ColumnPinningPosition.End) { diff --git a/src/app/grid-column-selection/grid-column-selection.sample.html b/src/app/grid-column-selection/grid-column-selection.sample.html index 991771aed86..40445977a21 100644 --- a/src/app/grid-column-selection/grid-column-selection.sample.html +++ b/src/app/grid-column-selection/grid-column-selection.sample.html @@ -16,8 +16,7 @@
- TEST EXAMPLE + columnWidth="100px"> diff --git a/src/app/grid-esf-load-on-demand/grid-esf-load-on-demand.component.html b/src/app/grid-esf-load-on-demand/grid-esf-load-on-demand.component.html index d40a9d59069..03484c81e01 100644 --- a/src/app/grid-esf-load-on-demand/grid-esf-load-on-demand.component.html +++ b/src/app/grid-esf-load-on-demand/grid-esf-load-on-demand.component.html @@ -5,7 +5,7 @@ diff --git a/src/app/grid-external-filtering/grid-external-filtering.sample.html b/src/app/grid-external-filtering/grid-external-filtering.sample.html index 17a78ac3789..abf428c4662 100644 --- a/src/app/grid-external-filtering/grid-external-filtering.sample.html +++ b/src/app/grid-external-filtering/grid-external-filtering.sample.html @@ -27,15 +27,7 @@ [rowSelection]="selectionMode" [paging]="false" [width]="'100%'" - [height]="'450px'" - [showToolbar]="true" - [columnHiding]="true" - [columnPinning]="true" - [exportExcel]="true" - [exportCsv]="true" - exportText="Export" - exportExcelText="Export to Excel" - exportCsvText="Export to CSV"> + [height]="'450px'"> + [height]="'600px'"> ESF Templates [rowSelection]="selectionMode" [paging]="false" [width]="'980px'" - [height]="'600px'" - [showToolbar]="true" - [columnHiding]="true" - [columnPinning]="true" - [columnSelection]="'single'" - [exportExcel]="true" - [exportCsv]="true" - exportText="Export" - exportExcelText="Export to Excel" - exportCsvText="Export to CSV"> + [height]="'600px'">

Grid1

- + Grid2

HGrid

- + diff --git a/src/app/grid-groupby/grid-groupby.sample.ts b/src/app/grid-groupby/grid-groupby.sample.ts index 5e2c12d0834..6616b3e877f 100644 --- a/src/app/grid-groupby/grid-groupby.sample.ts +++ b/src/app/grid-groupby/grid-groupby.sample.ts @@ -96,6 +96,7 @@ export class GridGroupBySampleComponent implements OnInit { } this.grid1.groupBy({ fieldName: name, dir: SortingDirection.Asc, ignoreCase: false, strategy: DefaultSortingStrategy.instance() }); } + toggleGroupedVisibility(event) { this.grid1.hideGroupedColumns = !event.checked; } diff --git a/src/app/grid-mrl-custom-navigation/grid-mrl-custom-navigation.sample.html b/src/app/grid-mrl-custom-navigation/grid-mrl-custom-navigation.sample.html index 5f98b113ba0..d67f0f9f495 100644 --- a/src/app/grid-mrl-custom-navigation/grid-mrl-custom-navigation.sample.html +++ b/src/app/grid-mrl-custom-navigation/grid-mrl-custom-navigation.sample.html @@ -2,7 +2,7 @@
- + diff --git a/src/app/grid-multi-row-layout/grid-mrl.sample.html b/src/app/grid-multi-row-layout/grid-mrl.sample.html index 784dc56662e..b8d2773fc8e 100644 --- a/src/app/grid-multi-row-layout/grid-mrl.sample.html +++ b/src/app/grid-multi-row-layout/grid-mrl.sample.html @@ -2,7 +2,7 @@
- diff --git a/src/app/grid-nested-props/grid-nested-props.sample.html b/src/app/grid-nested-props/grid-nested-props.sample.html index bed39726250..37ed4c99812 100644 --- a/src/app/grid-nested-props/grid-nested-props.sample.html +++ b/src/app/grid-nested-props/grid-nested-props.sample.html @@ -6,12 +6,6 @@ [allowFiltering]="true" filterMode="excelStyleFilter" allowAdvancedFiltering="true" - [showToolbar]="true" - [exportCsv]="true" - [exportExcel]="true" - exportText="Export" - exportExcelText="Export to Excel" - exportCsvText="Export to CSV" > Fixed Size Rows - + diff --git a/src/app/grid-row-pinning/grid-row-pinning.sample.html b/src/app/grid-row-pinning/grid-row-pinning.sample.html index 01db9e7ad6c..d525fab32ef 100644 --- a/src/app/grid-row-pinning/grid-row-pinning.sample.html +++ b/src/app/grid-row-pinning/grid-row-pinning.sample.html @@ -16,7 +16,7 @@ Right Column Pinning toggle
@@ -51,7 +51,7 @@
igxHierarchicalGrid
+ [showExpandAll]='true' [data]="hierarchicalData" [pinning]="pinningConfig" > @@ -79,9 +79,7 @@
igxTreeGrid
+ [width]="'900px'" [height]="'800px'" > diff --git a/src/app/grid-search/grid-search.sample.html b/src/app/grid-search/grid-search.sample.html index 15cf18fdd05..943eea9287f 100644 --- a/src/app/grid-search/grid-search.sample.html +++ b/src/app/grid-search/grid-search.sample.html @@ -14,15 +14,7 @@ [rowSelection]="selectionMode" [paging]="false" [width]="'980px'" - [height]="'600px'" - [showToolbar]="true" - [columnHiding]="true" - [columnPinning]="true" - [exportExcel]="true" - [exportCsv]="true" - exportText="Export" - exportExcelText="Export to Excel" - exportCsvText="Export to CSV"> + [height]="'600px'">
- @@ -64,7 +61,7 @@
- @@ -81,7 +78,7 @@ [hidden]="c.hidden"> - + [allowFiltering]="true"> diff --git a/src/app/grid-summaries/grid-summaries.sample.html b/src/app/grid-summaries/grid-summaries.sample.html index 54f8f75edf2..aa1588385ef 100644 --- a/src/app/grid-summaries/grid-summaries.sample.html +++ b/src/app/grid-summaries/grid-summaries.sample.html @@ -1,5 +1,12 @@ + + Grid Toolbar + + + + + @@ -46,10 +53,10 @@ Enable Paging allowFiltering -columnHiding -columnPinning +columnHiding +columnPinning Left Pinning toggle -showToolbar +showToolbar ReorderLevel groupable ReorderLevel filterable ReorderLevel disableHiding diff --git a/src/app/grid-summaries/grid-summaries.sample.ts b/src/app/grid-summaries/grid-summaries.sample.ts index 8430cf3e8a9..a17726496c0 100644 --- a/src/app/grid-summaries/grid-summaries.sample.ts +++ b/src/app/grid-summaries/grid-summaries.sample.ts @@ -8,6 +8,7 @@ import { } from 'igniteui-angular'; class MySummary extends IgxNumberSummaryOperand { + constructor() { super(); } @@ -34,10 +35,15 @@ export class GridSummaryComponent { @ViewChild('grid1', { read: IgxGridComponent, static: true }) private grid1: IgxGridComponent; + public showToolbar = false; + public hidingEnabled = false; + public pinningEnabled = false; + public mySummary = MySummary; public w = '1200px'; public h = '500px'; public cw = '200px'; + public groupable = false; public filterable = true; public disableHiding = false; diff --git a/src/app/grid-toolbar/grid-toolbar-custom.sample.html b/src/app/grid-toolbar/grid-toolbar-custom.sample.html index 41728f52efe..3ef18e62fe5 100644 --- a/src/app/grid-toolbar/grid-toolbar-custom.sample.html +++ b/src/app/grid-toolbar/grid-toolbar-custom.sample.html @@ -3,20 +3,20 @@

Toolbar

- + + + + {{ title }} + + + + + Transform to Excel + Transform to CSV + + +
-
+
\ No newline at end of file diff --git a/src/app/grid-toolbar/grid-toolbar-custom.sample.ts b/src/app/grid-toolbar/grid-toolbar-custom.sample.ts index 16c73aa9ce8..5fc71a3e4b3 100644 --- a/src/app/grid-toolbar/grid-toolbar-custom.sample.ts +++ b/src/app/grid-toolbar/grid-toolbar-custom.sample.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { IgxColumnComponent } from 'igniteui-angular'; +import { IgxColumnComponent, IgxCsvExporterService, IgxExcelExporterService } from 'igniteui-angular'; @Component({ selector: 'app-grid-toolbar-custom-sample', @@ -8,6 +8,14 @@ import { IgxColumnComponent } from 'igniteui-angular'; templateUrl: 'grid-toolbar-custom.sample.html' }) export class GridToolbarCustomSampleComponent { + + showToolbar = true; + title = 'Custom Title'; + hidingEnabled = true; + pinningEnabled = true; + csv = true; + excel = true; + public data = [ { Name: 'Alice', diff --git a/src/app/grid/grid.sample.html b/src/app/grid/grid.sample.html index 4577b7cf77a..4d325e2e060 100644 --- a/src/app/grid/grid.sample.html +++ b/src/app/grid/grid.sample.html @@ -52,8 +52,7 @@
Revertable for the last deleted row
+ [grid]="grid1">
@@ -95,7 +94,7 @@

Grid with templated column cells and local observable d + >

@@ -187,8 +186,7 @@

Grid with templated cell remote data

+ [grid]="grid3">
diff --git a/src/app/styleguide/colors/color.sample.scss b/src/app/styleguide/colors/color.sample.scss index 99695da5837..46d08360371 100644 --- a/src/app/styleguide/colors/color.sample.scss +++ b/src/app/styleguide/colors/color.sample.scss @@ -1,5 +1,4 @@ @import '../../../../projects/igniteui-angular/src/lib/core/styles/themes/utilities'; -@import'../../../styles/igniteui-theme.scss'; .sample-wrapper { display: grid; @@ -32,10 +31,6 @@ margin-bottom: 48px; } -.color-container { - @include igx-color-classes('background', $palette: $palette); -} - .color-title { font-size: 18px; line-height: 54px; diff --git a/src/app/tree-grid-flat-data/tree-grid-flat-data.sample.html b/src/app/tree-grid-flat-data/tree-grid-flat-data.sample.html index de56ecf8686..c06f0ad7e43 100644 --- a/src/app/tree-grid-flat-data/tree-grid-flat-data.sample.html +++ b/src/app/tree-grid-flat-data/tree-grid-flat-data.sample.html @@ -8,9 +8,7 @@ + [paging]="false" [displayDensity]="density" [width]="'900px'" [height]="'800px'" [summaryCalculationMode]="summaryMode"> Primary/Foreign key + [rowSelection]="selectionMode" [displayDensity]="density" [width]="'900px'" [height]="'800px'" + [summaryCalculationMode]="summaryMode" [allowFiltering]="true" [filterMode]="'excelStyleFilter'"> Primary/Foreign key

ChildData key

+ [rowSelection]="selectionMode" [displayDensity]="density" [width]="'900px'" [height]="'800px'" + [summaryCalculationMode]="summaryMode" [allowFiltering]="true" [filterMode]="'excelStyleFilter'"> + [allowFiltering]="true" [filterMode]="'excelStyleFilter'">