17.1.0-rc.0
Pre-release
Pre-release
17.1.0
New Features
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Added a new output -
rowClickthat fires when the user clicks on a row element of the grid, including group rows
- Added a new output -
IgxTree- Added new property
toggleNodeOnClickthat determines whether clicking over a node will change its expanded state or not. Set tofalseby default.
- Added new property
IgxPivotGridIPivotDimensioninterface now exposes a property calleddisplayNamesimilar to the one in theIPivotValueinterface. This property is optional and will be displayed inside the chips for rows and columns in theIgxPivotGrid. If thedisplayNameproperty is not set,memberNamewill be used as a fallback.
IgxHierarchicalGrid,IgxGridToolbar- The declaration of child layout toolbar templates no longer require explicit grid reference so the following:
can be simplified like:
<igx-row-island> <igx-grid-toolbar [grid]="childGrid" *igxGridToolbar="let childGrid">
<igx-row-island> <igx-grid-toolbar *igxGridToolbar>
- With this change the
gridproperty of theIgxGridToolbarhas been deprecated as it's no longer needed and will be removed in a future version.
- The declaration of child layout toolbar templates no longer require explicit grid reference so the following:
- New directive -
igxIconButtondirective that provides a way to use an icon as a fully functional button has been added. The newigxIconButtoncomes in three types - flat, outlined and contained (default). AlligxButton's with typeiconwill be automatically migrated to the newigxIconButton's withng update. IgxButton- Behavioral Change
buttonSelectedevent is now emitted not only when a button gets selected, but also when it gets deselected. However, the event is no longer being emitted on initialization. If this event was used in a scenario where it is assumed that the button gets selected, it's a good idea the logic to be branched now based oneventArgs.selectedcondition.
- Behavioral Change
General
igxButton:- Breaking Change The
raisedtype of theigxButtondirective has been renamed tocontained. Automatic migrations are available and will be applied onng update. - The
igxButtonColorandigxButtonBackgroundinput properties have been deprecated and will be removed in a future version.
- Breaking Change The
IgxForOf- Unified logic for vertical and horizontal virtualization such as - caching, updating, max browser size exceeding.
- Added new method -
addScrollthat can shift the scroll thumb by the specified amount in pixels (negative number to scroll to previous, positive to scroll next). Similar toaddScrollTopbut works for both vertical and horizontal virtualization.
IgxTextHighlightDirectiveis now correctly tree-shaken out of the bundle when not used.- Breaking Change A new
IgxTextHighlightServiceis now exposed and methodssetActiveHighlightandclearActiveHighlighthave been moved to it.
- Breaking Change A new
IgxGrid,IgxTreeGrid,IgxHierarchicalGrid- Tree-shaking of the grids has been improved:
- The
igx-paginator,igx-grid-toolbarandigx-action-stripcomponents should now correctly tree-shake when not used in a grid.
- The
- Breaking Changes
rowAddandrowDeleteevents now emit event argument of typeIRowDataCancelableEventArgsinstead ofIGridEditEventArgs. The two interfaces are still compatible, however redundant for these events propertiescellID,newValue,oldValue,isAddRoware deprecated inIRowDataCancelableEventArgsand will be removed in a future version. Switching to the correct new interfaces should reveal any deprecated use that can be safely removed.
- Deprecations
rowIDproperty has been deprecated in the following interfaces:IGridEditDoneEventArgs,IPathSegment,IRowToggleEventArgs,IPinRowEventArgs,IgxAddRowParentand will be removed in a future version. UserowKeyinstead.primaryKeyproperty has been deprecated in the following interfaces:IRowDataEventArgs,IGridEditDoneEventArgs. UserowKeyinstead.dataproperty has been deprecated in the following interfaces:IRowDataEventArgs. UserowDatainstead.
- Tree-shaking of the grids has been improved:
- HammerJS is now an optional dependency, which means apps no longer need to install and include it for related components to work. Touch-specific handling on some components is still dependent on HammerJS setup, but will be disabled without. The setup is now also an option when adding Ignite UI for Angular to existing projects via the
ng addcommand.
What's Changed
- chore(migartions): add "igniteui-angular-extras" to ng update group by @Lipata in #13925
- IgxGridState: does not restore collapsible column groups by @valeriatoneva in #13895
- Make HammerJs optional. by @MayaKirova in #13905
- feat(text-highlight): implement disposal by @kdinev in #13927
Full Changelog: 17.1.0-beta.3...17.1.0-rc.0