Releases: IgniteUI/igniteui-angular-samples
18.2.0
18.2.0
General
IFilteringExpressionsTree
,FilteringExpressionsTree
- Deprecation The
find
andfindIndex
methods have been deprecated and will be removed in a future version. AExpressionsTreeUtil
class has been added which provides the same functionality.
- Deprecation The
New Features
IgxSimpleCombo
- Introduced ability for Simple Combo to automatically select and retain valid input on "Tab" press enhancing user experience by streamlining data entry and reducing the need for manual selection improving form navigation.
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
- To streamline the sorting of columns with custom formats, a new
FormattedValuesSortingStrategy
has been introduced. This strategy simplifies the sorting process by allowing direct sorting based on formatted values, eliminating the need to extend theDefaultSortingStrategy
or implement a customISortingStrategy
. This enhancement improves the ease of handling sorting with custom column formatters.
- To streamline the sorting of columns with custom formats, a new
IgxCarousel
- Added support for vertical alignment. Can be configured via the
vertical
property. Defaults tofalse
. - Added support for showing/hiding the indicator controls (dots). Can be configured via the
indicators
property. Defaults totrue
.
- Added support for vertical alignment. Can be configured via the
ColumnType
,IgxColumn
- The built-in editors for columns of type
date
,dateTime
andtime
now use a default input format as per theIgxGrid
'slocale
. This is valid both for cell editors and the ones in the filtering UI for all modes -quickFilter
,excelStyle
and the Advanced filtering. - In case the
pipeArgs.displayFormat
property of a date-time column is set and contains only numeric date-time parts or such that can be handled by the editors, the built-in editors input format is inferred from it. - To configure the built-in editors, a new
editorOptions
property is added that allows to pass optional parameters. Accepts anIColumnEditorOptions
object with thedateTimeFormat
property, that is used as input format for the editors of
date
,dateTime
andtime
column data types:const editorOptions: IColumnEditorOptions = { Field? dateTimeFormat: 'MM/dd/YYYY', }
<igx-column field="sampleDate" dataType="date" [editorOptions]="editorOptions"></igx-column>
- The built-in editors for columns of type
FieldType
(IgxQueryBuilder
)- Similar to the above, the fields now accept an
editorOptions
object of typeIFieldEditorOptions
. ItsdateTimeFormat
property is used as input format for the query editors of date-time fields.
- Similar to the above, the fields now accept an
IgxDateTimeEditor
,IgxDatePicker
,IgxTimePicker
,IgxDateRangePicker
- In case the
inputFormat
property is not set, the input format is inferred from
displayFormat
if set and if it contains only numeric date-time parts.
- In case the
IgxTimePicker
- The input and display formats are now adjusted based on the locale. For instance, day period time part (AM/PM or a/p) would not be displayed for locales that do not require it.
IgxDateTimeEditor
- Added a new
defaultFormatType
property (date
|time
|dateTime
) which configures the date-time parts
according to the target type that the editor mask includes. Defaults todate
.
- Added a new
IgxTabs
- Added
activation
property to control tab selection. Inauto
mode (default), tabs are selected instantly with Arrow or Home/End keys. Inmanual
mode, tabs are focused with keys but only selected with Enter or Space.
- Added
IgxGridState
- When possible the state directive nows reuses the column that already exists on the grid when restoring the state, instead of creating new column instances every time. This removes the need to set any complex objects manually back on the column on
columnInit
. The only instance where this is still necessary is when the column (or its children in case of column groups) have nofield
property so there's no way to uniquely identify the matching column. - Added support for persisting Multi-Row Layout.
- When possible the state directive nows reuses the column that already exists on the grid when restoring the state, instead of creating new column instances every time. This removes the need to set any complex objects manually back on the column on
Themes
-
Breaking Change
Palettes
- All palette colors have been migrated to the CSS relative colors syntax. This means that color consumed as CSS variables no longer need to be wrapped in an
hsl
function.
Example:
/* 18.1.x and before: */ background: hsl(var(--ig-primary-600)); /* 18.2.0+: */ background: var(--ig-primary-600);
This change also opens up the door for declaring the base (500) variants of each color in CSS from any color, including other CSS variables, whereas before the Sass
palette
function was needed to generate color shades from a base color.Example:
/* 18.1.x and before: */ $my-palette: palette($primary: #09f, ...); /* 18.2.0+: */ --ig-primary-500: #09f;
This change adds to our continuous effort to make theming configurable in CSS as much as it is in Sass.
- All palette colors have been migrated to the CSS relative colors syntax. This means that color consumed as CSS variables no longer need to be wrapped in an
Scrollbar: New CSS variables
We have introduced new CSS variables to allow for more customizable scrollbars. This enhancement utilizes the available WebKit pseudo-selectors such as ::-webkit-scrollbar-track
. However, please note that these pseudo-selectors are prefixed with -webkit-
and are only supported in WebKit-based browsers (e.g., Chrome, Safari).
List of Available CSS Variables for -webkit-
browsers:
--sb-size
: Adjusts the scrollbar size (width and height).--sb-track-bg-color
: Sets the background color of the scrollbar track.--sb-track-bg-color-hover
: Sets the background color of the scrollbar track on hover.--sb-thumb-min-height
: Sets the minimum height of the scrollbar thumb.--sb-thumb-border-radius
: Sets the border radius of the scrollbar thumb.--sb-thumb-border-size
: Sets the border size of the scrollbar thumb.--sb-thumb-border-color
: Sets the border color of the scrollbar thumb.--sb-thumb-bg-color
: Sets the background color of the scrollbar thumb.--sb-thumb-bg-color-hover
: Sets the background color of the scrollbar thumb on hover.
For Firefox users, we provide limited scrollbar styling options through the following CSS variables:
--sb-size
: Adjusts the scrollbar size.--sb-thumb-bg-color
: Sets the background color of the scrollbar thumb.--sb-track-bg-color
: Sets the background color of the scrollbar track.
General
-
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
,IgxPivotGrid
- Deprecation The
shouldGenerate
property has been deprecated and will be removed in a future version. Column re-creation now relies onautoGenerate
instead. Automatic migration to this is available and will be applied onng update
. Note that ifautoGenerate
is already set initially, there is no need to explicitly set it elsewhere in your code.
- Deprecation The
-
IgxCarousel
-
animationType
input property is now of typeCarouselAnimationType
.HorizontalAnimationType
can also be used, however, to accommodate the new vertical mode, which supports vertical slide animations, it is recommended to useCarouselAnimationType
. -
Behavioral Changes - the
keyboardSupport
input property now defaults tofalse
. -
Deprecation - the
keyboardSupport
input property has been deprecated and will be removed in a future version. Keyboard navigation withArrowLeft
,ArrowRight
,Home
, andEnd
keys will be supported when focusing the indicators' container viaTab
/Shift+Tab
.
-
-
IgxCombo
:- Breaking Change The deprecated
filterable
property is replaced withdisableFiltering
. - The dropdown search field placeholder is now part of the Combo's localization resources. It now also uses two resource values depending on whether filtering is active, e.g. in the default
en
locale it remains'Enter a Search Term'
, but changes to'Add Item'
whendisableFiltering
andallowCustomValues
are set to true. For that reason, the existingsearchPlaceholder
input is also deprecated in favor of the resources. - Deprecation -
filterable
from thefilteringOptions
has been deprecated in favor ofdisableFiltering
.
- Breaking Change The deprecated
-
IgxBadge
- Breaking Change The
$border-width
property has been removed from the badge theme. - New outlined variant of the badge component has been added. Users can switch to
outlined
by adding the newly createdoutlined
property to a badge.
- Breaking Change The
18.1.0
Release Highlights
New Features
IgxPivotGrid
- Added horizontal layout for row dimensions. Can be configured through the
pivotUI
rowLayout
property. - Added
horizontalSummary
property for each IPivotDimension, enabling summary row when using horizontal layout. - Added
horizontalSummariesPosition
property to thepivotUI
, configuring horizontal summaries position. - Keyboard navigation now can move in to row headers back and forth from any row dimension headers or column headers.
- Added keyboard interactions for row dimension collapse using
Alt + Arrows
and row headers sorting usingCtrl + Arrow Up/Down
.
- Added horizontal layout for row dimensions. Can be configured through the
IgxIcon
,IgxIconService
- You can now register icons by reference via the
IgxIconService
. To learn more check out the Icon Service documentation. - All components now use icons by reference internally so that it's easy to replace them without explicitly providing custom templates.
registerFamilyAlias
has been deprecated in favor ofsetFamily
to allow adding metadata fortype
andprefix
when registering custom icon families. To migrate fromregisterFamilyAlias
, do the following:this.iconService.registerFamilyAlias('my-family', 'my-family-class'); this.iconService.setFamily('my-family', { className: 'my-family-class' });
- You can now register icons by reference via the
General
ColumnType
,IgxColumn
,IgxColumnGroup
,IgxColumnLayout
- The
children
query property has been deprecated and replaced bychildColumns
getter directly returning columns array. - Several properties have been hidden from the public API, considered internal and not recommended for use. Those include:
filterCell
,headerCell
,headerGroup
,defaultMinWidth
,gridRowSpan
,gridColumnSpan
andcells
.
- The
IgxPaginator
- The
isFirstPageDisabled
andisLastPageDisabled
have been deprecated in favor of the identicalisFirstPage
andisLastPage
getter.
- The
IgxOverlayService
- The
attach
method overload acceptingType
andOverlaySettings
now acceptsOverlayCreateSettings
as second parameter. This interface extendsOverlaySettings
with an additionalinjector
property used asElementInjector
when creating the dynamic component.
- The
18.0.0
New Features
IgxCombo
,IgxSimpleCombo
:- Introduced ability for hiding the clear icon button when the custom clear icon template is empty.
IgxDateTimeEditor
,IgxTimePicker
:- Now accept the following custom
inputFormat
options, as Angular's DatePipe:- Fractional seconds: S, SS, SSS.
- Period (Am/Pm): a, aa, aaa, aaaa, aaaaa
- Now accept the following custom
IgxPivotGrid
- Added templatable row dimension headers displayed on the top, above all row headers.
- Replace the
showPivotConfigurationUI
property withpivotUI
property, adding ability now to enable/disable the configuration UI and/or the new row dimension headers. - Added
sortable
property for each IPivotDimension.
IgxOverlayService
,IgxToggleDirective
:- Added an optional
offsetMode
parameter to thesetOffset
method that determines whether to add (by default) or set the offset values usingOffsetMode.Add
andOffsetMode.Set
.
- Added an optional
Changes
- With the removal of the Display Density token, components now get their default sizes from the theme. Default sizes have changed for most components, with it now being medium (previously large). Here's an exhaustive list of all sizable components and their default sizes by theme:
Avatar
- Small (All Themes)Button
- Large (Material), Medium (Bootstrap, Fluent, Indigo)Button Group
- Large (Material), Medium (Bootstrap, Fluent, Indigo)Card
- Medium (All Themes)Combo
- Medium (All Themes)Chip
- Medium (All Themes)Date/Time Picker
- Medium (All Themes)Dropdown
- Medium (All Themes)Dialog
- Medium (All Themes)Icon
- Large (All Themes)Icon Button
- Large (Material), Medium (Bootstrap, Fluent, Indigo)Input Group
- Medium (All Themes)List
- Medium (All Themes)Tree
- Medium (All Themes)Rating
- Medium (All Themes)Select
- Medium (All Themes)
General
- Removed deprecated property
displayDensity
. Size is now controlled only through the custom CSS property--ig-size
. Refer to the Update Guide and components documentation for usage details. IgxBanner
- Removed the deprecated
banner
property ofBannerEventArgs
andBannerCancelEventArgs
. Automatic migration toowner
is applied.
- Removed the deprecated
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
- Removed the deprecated
movable
property ofIgxColumnComponent
.
- Removed the deprecated
IgxOverlayService
- Removed the deprecated
PositionSettings.target
(in favor of generalOverlaySettings.target
). - Replaced deprecated
attach
method overload acceptingComponentFactoryResolver
(troughNgModuleRef
-like object) with shortcut overload that uses just the root scope andcreateComponent
. The overload acceptingViewComponentRef
is still recommended for local injection context.
- Removed the deprecated
IgxPivotGrid
- The
IgxPivotDateDimension
deprecated gettersinBaseDimension
andinOption
have been removed.
- The
IgxSimpleCombo
- Behavioral Change When bound to
ngModel
andformControlName
directives, the model would not be updated when the user types into the input and will only be updated on selection.
- Behavioral Change When bound to
16.0.0
16.0.0
General
-
All Ignite UI for Angular components are now exported as
standalone
components. The library still exportsNgModules
, which have been preserved for backward compatibility, but they no longer declare any of the Ignite UI for Angular components, instead they just import and export thestandalone
components. Thestandalone
components are still in a preview stage. Some utility directive exports may change in the future and may be missing from the documentation in the initial release, hence thepreview
state of the feature.Now you can do:
// IGX_GRID_DIRECTIVES exports all grid related components and directives import { IGX_GRID_DIRECTIVES } from 'igniteui-angular'; @Component({ selector: 'app-grid-sample', styleUrls: ['grid.sample.scss'], templateUrl: 'grid.sample.html', standalone: true, imports: [IGX_GRID_DIRECTIVES, AsyncPipe] })
or
// Single import of only the <igx-grid> component. import { IgxGridComponent } from 'igniteui-angular'; @Component({ selector: 'app-grid-sample', styleUrls: ['grid.sample.scss'], templateUrl: 'grid.sample.html', standalone: true, imports: [IgxGridComponent, AsyncPipe] })
or still
// `NgModule` import of the `IgxGridModule` module, which is equivalent to IGX_GRID_DIRECTIVES in terms of exported components and directives. import { IgxGridModule } from 'igniteui-angular'; @Component({ selector: 'app-grid-sample', styleUrls: ['grid.sample.scss'], templateUrl: 'grid.sample.html', standalone: true, imports: [IgxGridModule, AsyncPipe] })
-
IgxChip
- Behavioral Change The
igxChip
styles have been revisited and the select container animation has been removed when selecting/deselecting a chip. - Behavioral Change The remove button behavior have been revisited, now when the chip is in
disabled
state the remove button is hidden.
- Behavioral Change The
-
IgxGrid
,IgxHierarchicalGrid
:- Breaking Change The
IgxHeaderExpandIndicatorDirective
andIgxHeaderCollapseIndicatorDirective
directives, as well as theheaderExpandIndicatorTemplate
andheaderCollapseIndicatorTemplate
properties have been renamed toIgxHeaderExpandedIndicatorDirective
,IgxHeaderCollapsedIndicatorDirective
,headerExpandedIndicatorTemplate
andheaderCollapsedIndicatorTemplate
respectively to properly reflect their purpose. Automatic migrations are available and will be applied onng update
.
- Breaking Change The
-
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
Breaking Changes: The following grid properties, deprecated since version 12.1.0 are now removed:
- evenRowCSS;
- oddRowCSS;
- page;
- paging;
- perPage;
- totalPages;
- isFirstPage;
- isLastPage;
Also the following deprecated grid events are removed.
- pageChange;
- perPageChange;
- pagingDone;
Deprecated methods removed from the grid API are:
- nextPage;
- previousPage;
- paginate;
- getCellByColumnVisibleIndex;
New Features
IgxChip
- New input
variant
which can take any of the following values:'primary'
,'info'
,'success'
,'warning'
,'danger'
- New input
IgxExpansionPanel
:IgxExpansionPanelTitleDirective
andIgxExpansionPanelDescriptionDirective
show tooltip of the provided text content.
IgxDateRangePicker
- Added
showWeekNumbers
input that toggles whether or not the number of a week will be visible next to it
- Added
IgxGrid
,IgxHierarchicalGrid
:totalItemCount
can now also be bound asInput
in remote virtualization scenarios.rowExpandedIndicatorTemplate
,rowCollapsedIndicatorTemplate
,headerExpandedIndicatorTemplate
,headerCollapsedIndicatorTemplate
can now also be bound asInput
to provide templates for the row and header expand/collapse indicators respectively. This is in addition to the existing equivalent template directives to allow reuse.
IgxPivotGrid
- Added
pivotConfigurationChanged
event triggered any time any ofpivotConfiguration
properties is changed via the UI.
- Added
ISortingExpression
now accepts an optional generic type parameter for type narrowing of thefieldName
property to keys of the data item, e.g.ISortingExpression<MyDataItem>
Util
- Added new
CachedDataCloneStrategy
that allows for cloning object with circular references.
- Added new
15.1.0
Upgrade to the latest igniteui-angular version 15.1.0
15.1.0
New Features
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
:GroupMemberCountSortingStrategy
is added, which can be used to sort the grid by number of items in each group in ASC or DESC order, if grouping is applied.- A new argument
primaryKey
has been introduced toIRowDataEventArgs
Interface and part of the event arguments that are emitted by therowAdded
androwDeleted
events. When the grid has a primary key attribute added, then the emittedprimaryKey
event argument represents the row ID, otherwise it defaults to undefined. - Added the
autoGenerateExclude
property that accepts an array of strings for property names that are to be excluded from the generated column collection
IgxColumnComponent
- Added
currRec
andgroupRec
parameters to thegroupingComparer
function that give access to the all properties of the compared records.
- Added
IgxOverlayService
-A new eventcontentAppending
is introduced - the event is emitted before the content is appended to the overlay. The event is emitted withOverlayEventArgs
arguments and is not cancellable.
General
IgxPivotGrid
- The
IgxPivotDateDimension
propertiesinBaseDimension
andinOption
have been deprecated and renamed tobaseDimension
andoptions
respectively.
- The
IgxGrid
- Breaking Change The
onGroupingDone
output has been renamed togroupingDone
to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied onng update
.
- Breaking Change The
DisplayDensity
- Breaking Change The
onDensityChanged
output has been renamed todensityChanged
to not violate the no on-prefixed outputs convention. All components exposing this event are affected. Automatic migrations are available and will be applied onng update
.
- Breaking Change The
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
- Breaking Change -
rowSelectionChanging
event arguments are changed. Now theoldSelection
,newSelection
,added
andremoved
collections no longer consist of the row keys of the selected elements when the grid has set a primaryKey, but now in any case the row data is emitted.
When the grid is working with remote data and a primary key has been set- for the selected rows that are not currently part of the grid view, will be emitted a partial row data object. - Behavioral Change - When selected row is deleted from the grid component
rowSelectionChanging
event will no longer be emitted.
- Breaking Change -
IgxCarousel
- Breaking Change The
onSlideChanged
,onSlideAdded
,onSlideRemoved
,onCarouselPaused
andonCarouselPlaying
outputs have been renamed toslideChanged
,slideAdded
,slideRemoved
,carouselPaused
andcarouselPlaying
to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied onng update
.
- Breaking Change The
IgxRadio
,IgxRadioGroup
,IgxCheckbox
,IgxSwitch
- Added component validation along with styles for invalid state
igxMask
directive- Added the capability to escape mask pattern literals.
IgxBadge
- Added
shape
property that controls the shape of the badge and can be eithersquare
orrounded
. The default shape of the badge is rounded.
- Added
IgxAvatar
- Breaking Change The
roundShape
property has been deprecated and will be removed in a future version. Users can control the shape of the avatar by the newly addedshape
attribute that can besquare
,rounded
orcircle
. The default shape of the avatar issquare
.
- Breaking Change The
IgxOverlayService
attach
method overload acceptingComponentFactoryResolver
(troughNgModuleRef
-like object) is now deprecated in line with API deprecated in Angular 13. New overload is added acceptingViewComponentRef
that should be used instead.
- Breaking Changes -
$label-floated-background
and$label-floated-disabled-background
properties ofIgxInputGroupComponent
theme has been removed. IgxInputGroupComponent
The input group has been refactored so that the floating label for the input oftype="border"
does not require a background to match the surface background under the input field. Also, suffixes and prefixes are refactored to take the full height of the input which makes it easy to add background to them.- Breaking Changes -
$size
property ofscrollbar-theme
theme has been renamed to$scrollbar-size
.
15.0.0
15.0.0
New Features
-
igxGrid
- exposing new Input properties:-
Parameters in grid templates now have types for their context. This can also cause issues if the app is in strict template mode and uses the wrong type. References to the template that may require conversion:
IgxColumnComponent
-ColumnType
(for example the column parameter inigxFilterCellTemplate
)IgxGridCell
-CellType
(for example the cell parameter inigxCell
template)
-
excelStyleHeaderIconTemplate
- Gets/Sets the excel style header icon. -
groupRowTemplate
- Gets/Sets the template reference for the group row. -
headSelectorTemplate
- Gets/Sets the header row selector template. -
rowSelectorTemplate
- Gets/Sets the custom template used for row selectors. -
groupByRowSelectorTemplate
- Gets/Sets the custom template used for the group row selectors. -
sortHeaderIconTemplate
- Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are not sorted. -
sortAscendingHeaderIconTemplate
- Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are sorted in asc order. -
sortDescendingHeaderIconTemplate
- Gets/Sets a custom template that should be used when rendering a header sorting indicator when columns are sorted in desc order. -
rowEditActionsTemplate
- Gets/Sets the row edit actions template. -
rowAddTextTemplate
- Gets/Sets the row add text template. -
rowEditTextTemplate
- Gets/Sets the row edit text template. -
dragGhostCustomTemplate
- Gets/Sets the custom template used for row drag. -
dragIndicatorIconTemplate
- Gets/Sets the custom template used for row drag indicator. -
detailTemplate
- Gets/Sets the master-detail template.
-
-
IgxGridToolbar
-
Breaking Change - The
IgxGridToolbarTitleDirective
andIgxGridToolbarActionsDirective
have been converted to components, keeping only the element selector. For apps using the preferred element markup of<igx-grid-toolbar-title>
and<igx-grid-toolbar-actions>
there should be no functional change. Apps using theigxGridToolbarTitle
andigxGridToolbarActions
directives on other elements will need to convert those to the mentioned elements instead. -
Behavioral Change - When adding new row in grid with enabled batch editing,
rowChangesCount
displays the number of the defined columns.
-
-
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
- Behavioral Change - When editing a row,
rowChangesCount
andhiddenColumnsCount
would be displayed. - Behavioral Change - The Grid Paginator component is no longer hidden when there's no data and/or all columns are hidden.
- Behavioral Change - When editing a row,
-
IgxExcelExporterService
- Added support for exporting grid summaries.
- Columns of type
currency
will be formatted as currency in Excel based on grid's locale. Locale currency different thanUSD
,EUR
,GBP
,CNY
orJPY
will result in exporting the column as number instead.
-
IgxGrid
,IgxTreeGrid
,IgxHierarchicalGrid
,IgxPivotGrid
- Adding
Image
column data type
- Adding
-
IgxCalendar
Added support for shift key + mouse click interactions.
multi
mode - select/deselect all dates between the last selected/deselected and the one clicked while holdingShift
.range
mode - extend/shorten the range from the last selected date to the one clicked while holdingShift
.
14.2.0
New samples and functionalities based on the Ignite UI Angular upgrade to 14.2.
New Features
-
The filtering logic inside the grid's Advanced Filtering is now extracted as a separate
IgxQueryBuilder
component. The Query Builder allows you to build complex queries by specifying AND/OR operators, conditions and values using the UI. It outputs an object describing the structure of the query. Use thelocale
property to modify the locale settings. The default value is resolved to the global Angular application locale. TheresourceStrings
allows changing the displayed strings.- Code example below:
<igx-query-builder [fields]="fields"> <!-- Custom header --> <igx-query-builder-header [title]="'Custom title'" [showLegend]="false"> </igx-query-builder-header> </igx-query-builder>
- For more information, check out the README, specification and official documentation.
-
IgxExcelExporterService
- Added support for exporting
igxPivotGrid
.
- Added support for exporting
General
- Breaking Changes - The Excel exporter service
exportEnded
event has itsxlsx
argument type changed asigniteui-angular
no longer depends onJSZip
. Instead of providing aJSZip
instance it is now an object describing the structure of the Excel file with property names corresponding to folders or files, folders being objects themselves that can be traversed down, while files have their contents asUint8Array
. The same structure is used to package as a zip file byfflate
's API. IgxDropDown
- The
aria-label
attribute of theIgxDropDownItemBase
can now be se to a custom value for its descendants (of whichIgxDropDownItem
) by theariaLabel
property.
- The
14.1.0
New samples and functionalities based on the Ignite UI Angular upgrade to 14.1.
New Features
-
IgxCombo
andIgxSimpleComboComponent
filterFunction
input is added. The new property allows changing of the way filtering is done in the combos. By default filtering is made over the values in combo's data when it is a collection of primitive values, or over the values as defined indisplayKey
of the combo. If custom filtering function is provided filtering will be done as specified in the provided function.filteringOptions
are extended and now containsfilterable
andfilteringKey
properties. Settingfilterable
determines whether combo will be filterable. By default filtering is done over the data value when they are primitive, or over the field of the values equal todisplayKey
.filteringKey
allows to filter data by any data related key.
-
igxPivotGrid
- Add option to template the pivot value chip content:
<ng-template igxPivotValueChip let-value> {{ value.member }} </ng-template>
- Add support for usage with igxGridState to persist state of the pivotConfiguration with an additional
pivotConfiguration
option:
<igx-pivot-grid #grid1 [igxGridState]="options" ...
public options : IGridStateOptions = { pivotConfiguration: true };
One known issue of the igxGridState directive is that it cannot store functions as the state is stored as string.
As a result any custom functions set tomemberFunction
,aggregator
,formatter
,styles
etc. will not be stored. Restoring any of these can be achieved with code on application level.
Hence we have also exposed 2 new events:
-dimensionInit
- emits when a dimension from the configuration is being initialized.
-valueInit
- emits when a value from the configuration is being initialized.
Which can be used to set back any custom functions you have in the configuration.
The default aggregator function, like the ones fromIgxPivotNumericAggregate
,IgxPivotDateAggregate
etc., will be restored out of the box. However if you have any custom aggregators (or other custom functions) they need to be set back in thevalueInit
event, for example:public onValueInit(value: IPivotValue) { if (value.member === 'AmountOfSale') { value.aggregate.aggregator = IgxTotalSaleAggregate.totalSale; } }
Same applies to any custom functions on the dimension, like
memberFunction
. If it is a custom function you can set it back on thedimensionInit
event:public onDimensionInit(dim: IPivotDimension) { if (dim.memberName === 'AllCities') { dim.memberFunction = () => 'All'; } }
igxGridState
:
Exposed astateParsed
event to the state directive that can be used to additionally modify the grid state before it gets applied.
this.state.stateParsed.subscribe(parsedState => { parsedState.sorting.forEach(x => x.strategy = NoopSortingStrategy.instance()); });
-
igxGrid
-
Added built-in validation mechanism for Grid Editing. Extends the Angular Form validation functionality
You can configure it in 2 ways:-
Via template-driven configuration on the
igx-column
of the grid:<igx-column required minlength="4" ...>
-
Via reactive forms using the FormGroup exposed via the
formGroupCreated
event of the grid:<igx-grid (formGroupCreated)='formCreateHandler($event)' ...>
public formCreateHandler(formGr: FormGroup) { // add a validator const prodName = formGr.get('UserName'); prodName.addValidators(forbiddenNameValidator(/bob/i)) }
Edited cells will enter an invalid state when validation fails and will show an error icon and message. Cell will remain invalid until the value is edited to a valid value or the related state in the validation service is cleared.
You can refer to the documentation for more details: https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/validation
-
-
Added ability to auto-size columns to the size of their cells and header content on initialization by setting width
auto
:
<column width='auto' ...>
- Added support for restoring filtering expressions with custom filtering operands for the
IgxGridStateDirective
.
-
-
Added the
IgcFormControl
directive that, when imported with itsIgcFormsModule
, is designed to seamlessly attach to form components from the Ignite UI for WebComponents package and allows using them in Angular templates and reactive forms with support forngModel
andformControlName
directives. Currently the only Web Component with support through the directive isigc-rating
.
14.0.0
Upgrade Ignite UI for Angular samples to 14.0.0 version
What's Changed
- feat(ng14): migrating the project by @kdinev in #3021
- Update live editing version by @dobromirts in #3023
- chore: update to [email protected] by @Lipata in #3024
- fix(stepper): change referenced forms type by @ddaribo in #3025
- updating dockmanager to v1.8.0 by @ChronosSF in #3027
- feat(*): updating igniteui-angular to 14.0.0 by @kdinev in #3029
- Merging vNext into master by @kdinev in #3032
- adding popperjs to deps for prod build - master by @ChronosSF in #3034
Full Changelog: 13.2.0...14.0.0
13.2.0
Upgrade Ignite UI for Angular samples to 13.2.0 version
What's Changed
- fix(tree-filter): add live editing config by @igdmdimitrov in #2962
- fix(navbar): add button module to imports by @igdmdimitrov in #2960
- fix(navbar): add button module to imports - master by @igdmdimitrov in #2964
- fix(tree-filter): add live editing config - master by @igdmdimitrov in #2963
- fix(): update live editing and fix sample configs by @dobromirts in #2968
- fix(): simple combo configs by @dobromirts in #2970
- fix(): update live editing and fix sample configs - master by @dobromirts in #2969
- samples(dm): update dock manager to 1.7.0 by @DiyanDimitrov in #2973
- samples(dm): update dock manager to 1.7.0 by @DiyanDimitrov in #2974
- chore(*): Update to 13.1.5 by @dkamburov in #2976
- chore(*): update igniteui-angular to 13.1.3 by @dkamburov in #2966
- Add scrollbar theme in data analysis samples by @dobromirts in #2980
- Add scrollbar theme in data analysis samples by @dobromirts in #2981
- Fix issues with custom group by sample by @MayaKirova in #2977
- Add delete row functionality for grid-batch-editing-sample by @RivaIvanova in #2983
- Increase sample height for hgrid keyboard nav. by @skrustev in #2986
- Updates hierarchical grid config to include reference to models by @3phase in #2972
- Updates hierarchical grid config to include reference to models by @3phase in #2975
- fix(grid): cond row selection fix for deselect all by @kdinev in #2903
- chore(*): Fix horizontal sample orientation. by @MayaKirova in #2987
- Show snackbar in selection samples by @RivaIvanova in #2993
- Update to latest 13.2.0-beta.0 by @katherinedragieva in #3002
- Add sorting options in grid/tree grid samples by @katherinedragieva in #2992
- feat(slider): updating samples by @kdinev in #2995
- feat(grid): adding switch to toggle multi-column header export by @kdinev in #2997
- Add improvements in grid/tree grid sorting samples by @katherinedragieva in #3009
- chore(*): updating igniteui-angular to 13.2.0-rc.0 by @kdinev in #3011
- feat(expansion-panel): remove sample expansion panel paddings by @didimmova in #3010
- Update README.md with status badges by @kdinev in #3008
- Set null height for row islands so that they have consistent size in … by @MayaKirova in #2982
- Update to 13.2.0 by @zdrawku in #3018
- Merging vNext into master for 13.2.0 by @kdinev in #3012
Full Changelog: 13.1.0...13.2.0