7.2.0
-
igxCalendar
igxCalendar
has been refactored to provide the ability to instantiate each view as a separate component.- Feature advanced keyboard navigation support has been added. Read up more information in the ReadMe
-
New component
IgxMonthPicker
:- Provides the ability to pick a specific month. Read up more information in the ReadMe
-
New component
IgxHierarchicalGrid
:- Provides the ability to represent and manipulate hierarchical data in which each level has a different schema. Each level is represented by a component derived from igx-grid and supports most of its functionality. Read up more information about the IgxHierarchicalGrid in the official documentation or the ReadMe
-
New component The
igxSelect
provides an input with dropdown list allowing selection of a single item.<igx-select #select1 [placeholder]="'Pick One'"> <label igxLabel>Sample Label</label> <igx-select-item *ngFor="let item of items" [value]="item.field"> {{ item.field }} </igx-select-item> </igx-select>
documentation or the ReadMe
-
New directive
igxAutocomplete
- new directive that provides a way to enhance a text input by showing a panel of suggested options, provided by the developer. More information about the IgxAutocomplete is available in the official documentation or the ReadMe.<input igxInput type="text" [igxAutocomplete]="townsPanel" /> <igx-drop-down #townsPanel> <igx-drop-down-item *ngFor="let town of towns" [value]="town"> {{town}} </igx-drop-down-item> </igx-drop-down>
-
igxGrid
now hasisLoading
input property. When enabled will show loading indicator, until the data is available. It can be best utilized for remote scenarios. Another input propertyloadingGridTemplate
allows customizing the loading indicator.<!-- Example --> <igx-grid [isLoading]="true" ...> </igx-grid>
Group By
- The collapse/expand icons have new orientantion to display the action that will be performed when clicked. When an icon points up clicking on it would result in collapsing the related group row and when it points down clicking on it would expand the group row.
- The collapse/expand all icons have also been updated to reflect the new group row icons better.
- Group rows now can be expanded/collapsed using Alt + Arrow Up/Down to reflect the new icons.
filterMode
input added, which determines the filtering ui of the grid. The default value isquickFilter
. Other possible value isexcelStyle
, which mimics the filtering in Excel with added functionality for column moving, sorting, hiding and pinning.IgxColumnComponent
now hasdisablePinning
property, which determines wether the column can be pinned from
the toolbar and whether the column pin will be available in the excel style filter menu. ThedisableHiding
input will be used to show/hide the column hiding functionality in the menu.
-
igxTreeGrid
- The collapse/expand icons have new orientantion to display the action that will be performed when clicked. When an icon points up clicking on it would result in collapsing the related tree grid level and when it points down clicking on it would expand the tree grid level.
- Expanding/collapsing tree levels can now be performed also by using Alt + Arrow Up/Down to reflect the new icons.
-
igxCombo
- Breaking Change
combo.value
is now only a getter. - Feature added support for templating the default input group of the component. The
igx-combo
now allows forigx-prefix
,igx-suffix
,igx-hint
and[igxLabel]
components to be passed asng-content
and they will be renderer accordingly on the combo's input. Example:
<!-- customize combo input ---> <igx-combo #myCombo [data]="myGenres"> ... <label igxLabel>Genres</label> <igx-prefix><igx-icon>music_note</igx-icon></igx-prefix> </igx-combo>
- Feature the default combo 'clear' and 'toggle' icons can now be templated. Two new directives are added (with selector
[igxComboClearIcon]
and[igxComboToggleIcon]
). Passing anng-template
with one of the directives will overwrite the default conent of the respective icon. Functionality will remain unaffected. Expample:
<!-- customize combo input ---> <igx-combo #myCombo [data]="myGenres"> ... <ng-template igxComboToggleIcon let-collapsed> <igx-icon>{{ collapsed ? 'remove_circle' : 'remove_circle_outline'}}</igx-icon> </ng-template> </igx-combo>
- Breaking Change
-
igxDropDown
IgxDropDownItemBase
and it's descendants (of whichIgxDropDownItem
) have had theirisSelected
andisFocused
properties deprecated. Instead, useselected
andfocused
properties.- Added an
@Input
for theindex
property (such as the one coming from ngFor) of theIgxDropDownItem
component. This deprecates the automatic index calculation.
<igx-drop-down> <igx-drop-down-item *ngFor="let item of items; let i = index" [index]="i"> {{ item.field }} </igx-drop-down-item> </igx-drop-down>
- Feature
IgxDropDownGroupComponent
has been added. It allows for easier grouping of multi-level data, without the need of flattening it. Theigx-drop-down-item-group
tag acceptsigx-drop-down-item
s and displays them in the appropriate grouped fashion.<igx-drop-down> <igx-drop-down-item-group *ngFor="let country of contries" [label]="country.name"> <igx-drop-down-item *ngFor="let city of country.cities" [value]='city.refNo'> {{ city.name }} </igx-drop-down-item> </igx-drop-down-item-group> </igx-drop-down>
-
Theme Elevations & Shadows
- Components with shadows, set by an elevation level or otherwise, are now fully configurable by the user via schema and/or theme properties. User can also provide a custom elevations set to component themes that support them.- Breaking Change - The
$search-shadow-color
and$search-disabled-shadow-color
properties on theigx-input-group-theme
have been replaced with$search-resting-shadow
and$search-disabled-shadow
respectively. Useng update
to migrate automatically.
- Breaking Change - The
-
IgxTreeGridComponent
- We can now search in the treegrid's data by using the
findNext
and thefindPrev
methods and we can clear the search results with theclearSearch
method.
- We can now search in the treegrid's data by using the
-
IgxTextHighlightDirective
IgxTextHighlightDirective.page
input property is deprecated.rowIndex
,columnIndex
andpage
properties of theIActiveHighlightInfo
interface are also deprecated. Instead,row
andcolumn
optional properties are added.
-
igxDragDrop
dragGhostHost
input property added. Sets the element to which the dragged element will be appended. If not provided, the dragged element is appended to the body.
-
Column Hiding UI
- Behavioral Change - The UI now hides the columns whose
disableHiding
property is set to true instead of simply disabling them.
- Behavioral Change - The UI now hides the columns whose
-
igxButton
- New Button Style - Include outlined button style to support the latest material spec. -
igxOverlay
:igxOverlay.attach()
method added. Use this method to obtain an unique Id of the created overlay where the provided component will be shown. Then calligxOverlay.show(id, settings?)
method to show the component in overlay. The newattach
method has two overloads:attach(element: ElementRef, settings?: OverlaySettings): string
- This overload will create overlay where providedelement
will be shown.attach(component: Type<any>, settings?: OverlaySettings, moduleRef?: NgModuleRef<any>): string
- Creates aComponentRef
from the providedcomponent
class to show in an overlay. IfmoduleRef
is provided the service will use the module'sComponentFactoryResolver
andInjector
when creating theComponentRef
instead of the root ones.
igxOverlay.show(component, settings)
is deprecated. UseigxOverlay.attach()
method to obtain an Id, and then calligxOverlay.show(id, settings)
method to show a component in the overlay.IPositionStrategy
exposes new methodclone
that clones the strategy instance with its settings.
-
igx-date-picker
- Feature Added
dropdown
mode
to enable the input field value editing and spinning of the date parts as well as displaying a drop down calendar to select a date. Example:
<igx-date-picker #editableDatePicker1 mode="dropdown" [value]="date" format="dd.MM.y" mask="M/d/y"> </igx-date-picker>
- Feature Added
Components roundness
-
Ignite UI for Angular now allows you to change the shape of components by changing their border-radius.
-
Here is the list of all components that have roundness functionality:
- igx-badge
- igx-buttongroup
- igx-calendar
- igx-card
- igx-carousel
- igx-chip
- igx-dialog
- igx-drop-down
- igx-expansion-panel
- igx-input-group
- igx-list
- igx-list-item
- igx-navdrawer
- igx-snackbar
- igx-toast
- igxTooltip
- Breaking Change
- The
$button-roundness
property on theigx-button-theme
have been replaced for each button type with:$flat-border-radius
,$raised-border-radius
,$outline-border-radius
,$fab-border-radius
,$icon-border-radius
. - The
$roundness
property on theigx-chip-theme
have been replaced with$border-radius
. - The
$roundness
property on theiigx-tooltip-theme
have been replaced with$border-radius
.
Bug Fixes
- All initially pinned columns get unpinned if the grid's width is set as a percentage of its parent #3774
- Expanding a group row while at the bottom of the grid throws error #4179
- Grouping expand/collapse all button is not aligned with the row selector checkbox. #4178
- IgxToggleAction logs deprecated message in the console #4126
- IgxCombo - Calling selectItems([]) incorrectly clears the combo selection #4106
- IgxCombo - Clearing item filter sometimes empties drop down list #4000
- IgxCombo - Keyboard navigation ArrowDown stutters on chunk load #3999
- Row editing overlay banner not shown when enter row editing #4117
- IgxToggle open method always tries to get id even when it has one #3971
- Last (right-aligned) column is cut off when no widths are set for the columns #3396
- The selection in the last grid column does not span in the whole cell. #1115
- Last column header is a bit wider than the cells #1230