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
.