igniteui-angular
Advanced tools
Changelog
5.2.0
igxForOf
directive added
igxForOf
is now available as an alternative to ngForOf
for templating large amounts of data. The igxForOf
uses virtualization technology behind the scenes to optimize DOM rendering and memory consumption. Virtualization technology works similar to Paging by slicing the data into smaller chucks which are swapped from a container viewport while the user scrolls the data horizontally/vertically. The difference with the Paging is that virtualization mimics the natural behavior of the scrollbar.igxToggle
and igxToggleAction
directives added
igxToggle
allows users to implement toggleable components/views (eg. dropdowns), while igxToggleAction
can control the
igxToggle
directive. Refer to the official documentation for more information.igxToggle
requires BrowserAnimationsModule
to be imported in your application.Ignite UI for Angular Theming
- comprehensive set of Sass functions and mixins will give the ability to easily style your entire application or only certain parts of it.
igx-grid
changes
igxForOf
directive to virtualize its content both vertically and horizontally dramatically improving performance for applications displaying large amounts of data.filtering
changed to filterable
:<igx-grid [data]="data">
<igx-column [field]="'ReleaseDate'" [header]="'ReleaseDate'"
[filterable]="true" dataType="date">
</igx-column>
</igx-grid>
min-width
added to IgxGridCellComponent
and IgxGridHeaderCell
update
modifier.<ng-template igxCell let-cell="cell">
{{ cell.update("newValue") }}
</ng-template>
IgxGridFiltering
renamed to IgxGridFilteringComponent
igxToggle
directive.
BrowserAnimationsModule
inside your application module as igxToggle
uses animations for state transition.state
input
onCellSelection
and onRowSelection
event emitters, onSelection
added instead.onBeforeProcess
event emitter.onMovingDone
event emitter.focusCell
and focusRow
.filterData
to filter
.filterGlobal
and clearFilter
.clearSort
.sortColumn
to sort
.sortingIgnoreCase
- Ignore capitalization of words.igx-navigation-drawer
changes
NavigationDrawer
renamed to IgxNavigationDrawerComponent
NavigationDrawerModule
renamed to IgxNavigationDrawerModule
IgxNavigationDirectives
renamed to IgxNavigationModule
NavigationService
renamed to IgxNavigationService
NavigationToggle
renamed to IgxNavigationToggleDirective
NavigationClose
renamed to IgxNavigationCloseDirective
ig-drawer-content
replaced with <ng-template igxDrawer>
ig-drawer-mini-content
replaced with <ng-template igxDrawerMini>
ig-nav-drawer-overlay
renamed to igx-nav-drawer__overlay
ig-nav-drawer
renamed to igx-nav-drawer
igxInput
changes
ig-form-group
to igx-form-group
igxBadge
changes
igx-avatar
changes
igx-calendar
changes
formatViews
- Controls whether the date parts in the different calendar views should be formatted according to the provided locale
and formatOptions
.templating
- The igxCalendar supports now templating of its header and subheader parts.vertical
input - Controls the layout of the calendar component. When vertical is set to true
the calendar header will be rendered to the side of the calendar body.igx-nav-bar
changes
isActionButtonVisible
resolves to false
if actionButtonIcon is not defined.igx-tab-bar
changes
<igx-bottom-nav>
<igx-tab-panel>
<ng-template igxTab>
<igx-avatar initials="T1">
</igx-avatar>
</ng-template>
<h1>Tab 1 Content</h1>
</igx-tab-panel>
</igx-bottom-nav>
igx-scroll
component deleted
igx-scroll
component is not available anymore due newly implemented igxForOf
directive.igxEmptyList
directive added
The list no longer has emptyListImage
, emptyListMessage
, emptyListButtonText
, emptyListButtonClick
and hasNoItemsTemplate
members.
Instead of them, the igxEmptyListTemplateDirective
can be used for templating the list when it is empty (or use the default empty template).
<igx-list>
<ng-template igxEmptyList>
<p>My custom empty list template</p>
</ng-template>
</igx-list>
onItemClicked
event emitter added
<igx-list (onItemClicked)="itemClicked()">
<igx-list-item>Item 1</igx-list-item>
<igx-list-item>Item 2</igx-list-item>
<igx-list-item>Item 3</igx-list-item>
</igx-list>
emptyListImage
property from IgxListComponent
.emptyListMessage
property from IgxListComponent
.emptyListButtonText
property from IgxListComponent
.emptyListButtonClick
event emitter from IgxListComponent
.hasNoItemsTemplate
property from IgxListComponent
.options
property from IgxListItemComponent
.left
property from IgxListItemComponent
.href
property from IgxListItemComponent
.emptyListTemplate
input for IgxListComponent
.onItemClicked
event emitter for IgxListComponent
.role
property for IgxListComponent
.innerStyle
property for IgxListComponent
.role
property for IgxListItemComponent
.element
property for IgxListItemComponent
.list
property for IgxListItemComponent
.headerStyle
property for IgxListItemComponent
.innerStyle
property for IgxListItemComponent
.Renaming and restructuring directives and components based on the General Angular Naming Guidelines:
IgxAvatar
renamed to IgxAvatarComponent
IgxBadge
renamed to IgxBadgeComponent
IgxButton
renamed to IgxButtonDirective
IgxButtonGroup
renamed to IgxButtonGroupComponent
IgxCardHeader
renamed to IgxCardHeaderDirective
IgxCardContent
renamed to IgxCardContentDirective
IgxCardActions
renamed to IgxCardActionsDirective
IgxCardFooter
renamed to IgxCardFooterDirective
IgxCarousel
renamed to IgxCarouselComponent
IgxInput
renamed to IgxInputModule
IgxInputClass
renamed to IgxInputDirective
IgxCheckbox
renamed to IgxCheckboxComponent
IgxLabel
renamed to IgxLabelDirective
IgxIcon
renamed to IgxIconComponent
IgxList
renamed to IgxListComponent
IgxListItem
renamed to IgxListItemComponent
IgxSlide
renamed to IgxSlideComponent
IgxDialog
renamed to IgxDialogComponent
IgxLayout
renamed to IgxLayoutModule
IgxNavbar
renamed to IgxNavbarComponent
IgxCircularProgressBar
renamed to IgxCircularProgressBarComponent
IgxLinearProgressBar
renamed to IgxLinearProgressBarComponent
IgxRadio
renamed to IgxRadioComponent
IgxSlider
renamed to IgxSliderComponent
IgxSnackbar
renamed to IgxSnackbarComponent
IgxSwitch
renamed to IgxSwitchComponent
IgxTabBar
renamed to IgxBottomNavComponent
IgxTabPanel
renamed to IgxTabPanelComponent
IgxTab
renamed to IgxTabComponent
IgxToast
renamed to IgxToastComponent
IgxLabelDirective
moved inside ../directives/label/
folderIgxInputDirective
moved inside ../directives/input/
folderIgxButtonDirective
moved inside ../directives/button/
folderIgxLayoutDirective
moved inside ../directives/layout/
folderIgxFilterDirective
moved inside ../directives/filter/
folderIgxDraggableDirective
moved inside ../directives/dragdrop/
folderIgxRippleDirective
moved inside ../directives/ripple/
folder"./navigation/nav-service"
renamed to "./navigation/nav.service"
Changelog
15.1.0
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.primaryKey
has been introduced to IRowDataEventArgs
Interface and part of the event arguments that are emitted by the rowAdded
and rowDeleted
events. When the grid has a primary key attribute added, then the emitted primaryKey
event argument represents the row ID, otherwise it defaults to undefined.autoGenerateExclude
property that accepts an array of strings for property names that are to be excluded from the generated column collectionIgxColumnComponent
currRec
and groupRec
parameters to the groupingComparer
function that give access to the all properties of the compared records.IgxOverlayService
contentAppending
is introduced - the event is emitted before the content is appended to the overlay. The event is emitted with OverlayEventArgs
arguments and is not cancellable.IgxCard
Buttons and icons slotted in the igx-card-actions
can now be explicitly arranged to the start/end of the layout. To position components on either side users can take advantage of the newly added directives: igxStart
- aligns items to the start and igxEnd
- aligns items on the end of the card actions area.
The reverse
property has been deprecated and will be removed in a future version.
Code example:
<igx-card>
<igx-card-header>
<h3>Title</h3>
</igx-card-header>
<igx-card-content>
Card Content
</igx-card-content>
<!-- Rearrange items using igxStart and igxEnd directives -->
<igx-card-actions>
<igx-icon igxStart>drag_indicator</igx-icon>
<button igxButton="icon" igxStart>
<igx-icon>favorite</igx-icon>
</button>
<button igxButton igxEnd>Button</button>
</igx-card-actions>
</igx-card>
IgxButtonGroup
:
selected
and deselected
events are now cancellable.IgxPivotGrid
IgxPivotDateDimension
properties inBaseDimension
and inOption
have been deprecated and renamed to baseDimension
and options
respectively.IgxGrid
onGroupingDone
output has been renamed to groupingDone
to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on ng update
.DisplayDensity
onDensityChanged
output has been renamed to densityChanged
to not violate the no on-prefixed outputs convention. All components exposing this event are affected. Automatic migrations are available and will be applied on ng update
.IgxGrid
, IgxTreeGrid
, IgxHierarchicalGrid
rowSelectionChanging
event arguments are changed. Now the oldSelection
, newSelection
, added
and removed
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.rowSelectionChanging
event will no longer be emitted.IgxCarousel
onSlideChanged
, onSlideAdded
, onSlideRemoved
, onCarouselPaused
and onCarouselPlaying
outputs have been renamed to slideChanged
, slideAdded
, slideRemoved
, carouselPaused
and carouselPlaying
to not violate the no on-prefixed outputs convention. Automatic migrations are available and will be applied on ng update
.IgxRadio
, IgxRadioGroup
, IgxCheckbox
, IgxSwitch
igxMask
directive
IgxBadge
shape
property that controls the shape of the badge and can be either square
or rounded
. The default shape of the badge is rounded.IgxAvatar
roundShape
property has been deprecated and will be removed in a future version. Users can control the shape of the avatar by the newly added shape
attribute that can be square
, rounded
or circle
. The default shape of the avatar is square
.IgxOverlayService
attach
method overload accepting ComponentFactoryResolver
(trough NgModuleRef
-like object) is now deprecated in line with API deprecated in Angular 13. New overload is added accepting ViewComponentRef
that should be used instead. $label-floated-background
and $label-floated-disabled-background
properties of IgxInputGroupComponent
theme has been removed.IgxInputGroupComponent
The input group has been refactored so that the floating label for the input of type="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.$size
property of scrollbar-theme
theme has been renamed to $scrollbar-size
.IgxSimpleCombo
IgxSimpleCombo
will not open its drop-down on clear.Changelog
11.0.4
IgxGrid
, IgxTreeGrid
, IgxHierarchicalGrid
event
has been introduced to IGridEditEventArgs
and IGridEditDoneEventArgs
; the property represents the original DOM event that triggers any of Grid editing events like rowEditEnter
, cellEditEnter
, cellEdit
, cellEditDone
, cellEditExit
, rowEdit
, rowEditDone
, rowEditExit