11.2.0-alpha.2
Pre-release
Pre-release
·
8881 commits
to master
since this release
General
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Breaking Change - The
localeandpipeArgsparameters are removed from theoperatemethod exposed by theIgxNumberSummaryOperand,IgxDateSummaryOperand,IgxCurrencySummaryOperandandIgxPercentSummaryOperand. They are now set in theigx-grid-summary-celltemplate. To change the locale and format setting of theigx-grid-summary-cellthe user can use the newsummaryFormatterproperty of theIgxColumnComponent.
- Breaking Change - The
New Features
IgxForOf,IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Behavioral Change - Virtual containers now scroll smoothly when using the mouse wheel(s) to scroll them horizontally or vertically. This behavior more closely resembles the scrolling behavior of non-virtualized containers in most modern browsers.
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- The
IgxRowAddTextDirectiveallows to customize the text of the row adding overlay.<igx-grid [rowEditable]="true"> <ng-template igxRowAddText> Adding Row </ng-template> </igx-grid>
- A new
summaryFormatterinput property is exposed by theIgxColumnComponent, which is used to format the displayed summary values for the columns.public dateSummaryFormat(summary: IgxSummaryResult, summaryOperand: IgxSummaryOperand): string { const result = summary.summaryResult; if(summaryOperand instanceof IgxDateSummaryOperand && summary.key !== 'count' && result !== null && result !== undefined) { const pipe = new DatePipe('en-US'); return pipe.transform(result,'MMM YYYY'); } return result; }
<igx-column field="OrderDate" header="Order Date" [sortable]="true" [disableHiding]="true" [dataType]="'date'" [hasSummary]="true" [summaryFormatter]="dateSummaryFormat"> </igx-column>
- The
Themes:
-
Breaking Changes:
IgxButtontheme has been simplified. The number of theme params (igx-button-theme) has been reduced significantly and no longer includes prefixed parameters (flat-*,raised-*, etc.). See the migration guide to update existing button themes. Updates performed withng updatewill migrate existing button themes but some additional tweaking may be required to account for the abscense of prefixed params.- The
igx-typographymixin is no longer implicitly included withigx-core. To use our typography styles users have to include the mixin explicitly:
@include igx-core(); /// Example with Indigo Design theme: @include igx-typography($font-family: $indigo-typeface, $type-scale: $indigo-type-scale);