17.1.0-beta.3
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:
What's Changed
- chore(*): update-roadmap-01-feb-2024 by @radomirchev in #13855
- fix(grid): Process pinned columns and column groups when the columns … by @mddragnev in #13844
- fix(migrations): bare specifier to escape the encapsulation for dynamic import by @Lipata in #13882
- chore(*): updating dependencies by @kdinev in #13869
- fix(button): icon in button size by @SisIvanova in #13860
- fix(button): redundant margin in bootstrap theme by @SisIvanova in #13866
- feat(navbar): add border in bootstrap theme by @SisIvanova in #13879
- fix(grid,tree-shake): use lightweight token for paginator by @damyanpetev in #13896
- fix(grid,tree-shake): use lightweight token for toolbar by @damyanpetev in #13897
- fix(density): resolve NG0100 errors by @simeonoff in #13899
- fix(grid,tree-shake): use lightweight token for action strip, changelog by @damyanpetev in #13900
- ci(schematics): skipLibCheck on compile for schematics by @Lipata in #13883
- feat(button/icon-button): refactor buttons and add new states by @didimmova in #13853
- chore(*): updating angular to 17.2 by @kdinev in #13908
- chore(schematics): update with cli rc.0 by @Lipata in #13909
- chore(ssr): dont initialize MutationObserver if it does not exist (ss… by @hanastasov in #13913
- test(ssr): extending the bundle-test project for SSR by @kdinev in #13911
- fix(calendar): no setting of date if same date is already set by @deyvidnenchev in #13877
- feat(h-grid): provide injector to simplify child toolbar template setup by @damyanpetev in #13907
- fix(hierarchical-grid): do not use hierarchy pipe data when data is explicitly set by user by @ddaribo in #13887
- chore(migrations): fix json schema in change files by @damyanpetev in #13916
- refactor(text-highlight): abstracting service from directive by @kdinev in #13915
- Fix grouped grid with summaries export - master by @onlyexeption in #13917
Full Changelog: 17.1.0-beta.0...17.1.0-beta.3