Releases: IgniteUI/igniteui-angular
Releases · IgniteUI/igniteui-angular
7.3.17
8.2.0-beta.1
New Features
IgxGrid,IgxTreeGrid,IgxHierarchicalGriduniqueColumnValuesStrategyinput is added. This property provides a callback for loading unique column values on demand. If this property is provided, the unique values it generates will be used by the Excel Style Filtering (instead of using the unique values from the data that is bound to the grid).igxExcelStyleLoadingdirective is added, which can be used to provide a custom loading template for the Excel Style Filtering. If this property is not provided, a default loading template will be used instead.- introduced new properties
cellSelectionandrowSelectionwhich accept GridSelection mode enumeration. Grid selection mode could be none, single or multiple. AlsohideRowSelectorsproperty is added, which allows you to show and hide row selectors when row selection is enabled.
IgxHierarchicalGrid- Row Islands now emit child grid events with an additional argument -
owner, which holds reference to the related child grid component instance.
- Row Islands now emit child grid events with an additional argument -
IgxDrag- Dragging without ghost. Now it is possible to drag the base element
igxDragis instanced on by setting the new inputghostto false. - Ghost template. A custom ghost template reference can be provided on the new
ghostTemplateinput. - Dragging using a single or multiple handles. New
igxDragHandledirective is exposed to specify a handle by which and element can be interacted with instead of the whole elementigxDragis instanced on. - Linking of drag and drop elements. This can be achieved by using the new provided
dragChannelinput, specifying each element to which channel it corresponds. - Drag animation improvements. Three new methods have been exposed in place of the old
animateToOrigininput in order to provide more flexibility when wanting to have transition animation to specific position when dropping.setLocation,transitionToOriginandtransitionToare all methods that provide a various way to animate a transition to a specific location for the dragged element. - New getters -
locationandoriginLocationto aid in applying transition animations. - New outputs -
dragMove,ghostCreateandghostDestroy
- Dragging without ghost. Now it is possible to drag the base element
IgxDrop- Linking of drag and drop elements. This can be achieved by using the new provided
dropChannelinput, specifying each drop area to which channel it corresponds. - Drop strategies. Three new drop strategies have been provided - Append, Prepend and Insert. Also an input
dropStrategyto theigxDropwhich specify which strategy should be used when dropping an element inside the drop area. Custom one can be specified as well.
- Linking of drag and drop elements. This can be achieved by using the new provided
General
IgxGrid,IgxTreeGrid,IgxHierarchicalGridisCellSelectedmethod has been deprecated. Now you can useselectedproperty.rowSelectableproperty has been deprecated. Now you can userowSelectionproperty to enable row selection and also you can show and hide the row selectors by settinghideRowSelectorsproperty to true or false (which is the default value).- Removed deprecated event
OnFocusChange - Breaking Change
igxExcelStyleSortingTemplatedirective is renamed toigxExcelStyleSorting. - Breaking Change
igxExcelStyleMovingTemplatedirective is renamed toigxExcelStyleMoving. - Breaking Change
igxExcelStyleHidingTemplatedirective is renamed toigxExcelStyleHiding. - Breaking Change
onRowSelectionChangeevent arguments are changed. Therowproperty has been removed and the propertiesadded,removedandcancelare newly added. - Breaking Change
igxExcelStylePinningTemplatedirective is renamed toigxExcelStylePinning. - Breaking Change
onRowDragEndandonRowDragStartevent arguments are changed -ownernow holds reference to the grid component instance, whiledragDirectivehold reference to the drag directive.
IgxCombo- Combo selection is now consistent when
valueKeyis defined. WhenvalueKeyis specified, selection is based on the value keys of the items. For example:
<igx-combo [data]="myCustomData" valueKey="id" displayKey="text"></igx-combo>
export class MyCombo { ... public combo: IgxComboComponent; public myCustomData: { id: number, text: string } = [{ id: 0, name: "One" }, ...]; ... ngOnInit() { // Selection is done only by valueKey property value this.combo.selectItems([0, 1]); } }
- Breaking Change When using
[valueKey], combo methods, events and outputs cannot be handled with data item references. - For more information, visit the component's readme
- Combo selection is now consistent when
8.1.6
8.2.0-beta.0
New Features
IgxGrid,IgxTreeGrid,IgxHierarchicalGriduniqueColumnValuesStrategyinput is added. This property provides a callback for loading unique column values on demand. If this property is provided, the unique values it generates will be used by the Excel Style Filtering (instead of using the unique values from the data that is bound to the grid).igxExcelStyleLoadingdirective is added, which can be used to provide a custom loading template for the Excel Style Filtering. If this property is not provided, a default loading template will be used instead.- introduced new properties
cellSelectionandrowSelectionwhich accept GridSelection mode enumeration. Grid selection mode could be none, single or multiple. AlsohideRowSelectorsproperty is added, which allows you to show and hide row selectors when row selection is enabled.
IgxHierarchicalGrid- Row Islands now emit child grid events with an additional argument -
owner, which holds reference to the related child grid component instance.
- Row Islands now emit child grid events with an additional argument -
IgxDrag- Dragging without ghost. Now it is possible to drag the base element
igxDragis instanced on by setting the new inputghostto false. - Ghost template. A custom ghost template reference can be provided on the new
ghostTemplateinput. - Dragging using a single or multiple handles. New
igxDragHandledirective is exposed to specify a handle by which and element can be interacted with instead of the whole elementigxDragis instanced on. - Linking of drag and drop elements. This can be achieved by using the new provided
dragChannelinput, specifying each element to which channel it corresponds. - Drag animation improvements. Three new methods have been exposed in place of the old
animateToOrigininput in order to provide more flexibility when wanting to have transition animation to specific position when dropping.setLocation,transitionToOriginandtransitionToare all methods that provide a various way to animate a transition to a specific location for the dragged element. - New getters -
locationandoriginLocationto aid in applying transition animations. - New outputs -
dragMove,ghostCreateandghostDestroy
- Dragging without ghost. Now it is possible to drag the base element
IgxDrop- Linking of drag and drop elements. This can be achieved by using the new provided
dropChannelinput, specifying each drop area to which channel it corresponds. - Drop strategies. Three new drop strategies have been provided - Append, Prepend and Insert. Also an input
dropStrategyto theigxDropwhich specify which strategy should be used when dropping an element inside the drop area. Custom one can be specified as well.
- Linking of drag and drop elements. This can be achieved by using the new provided
General
IgxGrid,IgxTreeGrid,IgxHierarchicalGridisCellSelectedmethod has been deprecated. Now you can useselectedproperty.rowSelectableproperty has been deprecated. Now you can userowSelectionproperty to enable row selection and also you can show and hide the row selectors by settinghideRowSelectorsproperty to true or false (which is the default value).- Removed deprecated event
OnFocusChange - Breaking Change
igxExcelStyleSortingTemplatedirective is renamed toigxExcelStyleSorting. - Breaking Change
igxExcelStyleMovingTemplatedirective is renamed toigxExcelStyleMoving. - Breaking Change
igxExcelStyleHidingTemplatedirective is renamed toigxExcelStyleHiding. - Breaking Change
onRowSelectionChangeevent arguments are changed. Therowproperty has been removed and the propertiesadded,removedandcancelare newly added. - Breaking Change
igxExcelStylePinningTemplatedirective is renamed toigxExcelStylePinning. - Breaking Change
onRowDragEndandonRowDragStartevent arguments are changed -ownernow holds reference to the grid component instance, whiledragDirectivehold reference to the drag directive.
IgxCombo- Combo selection is now consistent when
valueKeyis defined. WhenvalueKeyis specified, selection is based on the value keys of the items. For example:
<igx-combo [data]="myCustomData" valueKey="id" displayKey="text"></igx-combo>
export class MyCombo { ... public combo: IgxComboComponent; public myCustomData: { id: number, text: string } = [{ id: 0, name: "One" }, ...]; ... ngOnInit() { // Selection is done only by valueKey property value this.combo.selectItems([0, 1]); } }
- Breaking Change When using
[valueKey], combo methods, events and outputs cannot be handled with data item references. - For more information, visit the component's readme
- Combo selection is now consistent when
8.1.5
Bug fixing
7.3.16
Bug fixing
8.1.4
Bug fixes
- [igx-nav-drawer] drawer item icon is not centered when mini variant is enabled. #5571
- Row drag indicator is not positioned correct in the child grid(without row island) #5473
- Dynamically adding columns to parent hierarchical grid after initialization does not work. #5626
- Change CSS Style of Grid Buttons #5232
- In ExcelStyleFilter move right does not moves the column if there is pinned column group #5604
- There are no pining and hiding button in excel style filtering when column layouts are used #5598
- Null reference error is thrown when dragged row goes out of viewport #5587
- Grid does not update row selection state if deselectRows is called onRowEdit #5536
- igxDialog: exposed
positionSettingsinput #5576
7.3.15
Bug fixes
- Row drag indicator is not positioned correct in the child grid(without row island) #5473
- Dynamically adding columns to parent hierarchical grid after initialization does not work. #5626
- Change CSS Style of Grid Buttons #5232
- In ExcelStyleFilter move right does not moves the column if there is pinned column group #5604
- There are no pining and hiding button in excel style filtering when column layouts are used #5598
- Null reference error is thrown when dragged row goes out of viewport #5587
- Grid does not update row selection state if deselectRows is called onRowEdit #5536
- igxDialog: exposed
positionSettingsinput #5576
8.1.3
Bug fixes
- In column groups when column cannot be pinned, the pinned button should be disabled in excel style filter #5557
- [Sass] "--var" function doesn't work when $legacy-support is set to false on production build. #5572
- Typing a non-existing value in the search input does not disable the apply filter button. #4018
- Summary theme/schema #5564
- igx-grid - Custom cell does not support ngIf anymore #5550
Enhancements
- Combo selectionChange event args #5523
IgxCombo- Combo
onSelectionChangeevents now emits the item(s) that were added to or removed from the collection:
<igx-combo (onSelectionChange)="handleChange($event)">
export class Example { ... handleChange(event: { newSelection: any[], oldSelection: any[], added: any[], // the items added to the selection in this change removed: any[], // the items removed for the selection in this change ... }) { console.log("Items added: ", [...event.added]); console.log("Items removed: ", [...event.removed]); } }
- Combo