igniteui-angular
Advanced tools
Changelog
6.1.3
General
import 'core-js/es7/object';
igxTabs
selectedIndex
property has an @Input
setter and can be set both in markup and in code behind.igxDropDownItem
isSelected
has a public setter and is now an @Input
property that can be used for template binding.igxGrid
applyNumberCSSClass
and columnType
getters are removed.isUnary
property added to IFilteringOperationigxColumn
igxColumnGroup
autosize()
method on IgxColumnComponent
. It allows the user to programatically change the size of a column according to it's largest visible cell.igxGrid
component without setting height, inside a container without height defined, now causes the grid to render 10 records from the data view or all of the records if there are fewer than 10 available.igxCombo
width
is set to 100%itemsMaxWidth
is renamed to itemsWidth
igxLinearBar
and igxCircularBar
step
input which determines the update step of the progress indicator. By default it is one percent of the maximum value.IgxCircularBar
text
input property exposed to set the text to be displayed inside the circular bar.Changelog
6.1.2
igxCombo
improvements
For more detailed information see the official igxCombo documentation.
General
jsZip
as a Dependency.Changelog
6.1.1
igxTimePicker
changes
onClose
event added.Changelog
6.1.0
igxOverlay
service added. igxOverlayService allows you to show any component above all elements in page. For more detailed information see the official documentationigxRadio
components and support template-driven and reactive forms.column moving
feature to igxGrid
, enabled on a per-column level. Column moving allows you to reorder the igxGrid
columns via standard drag/drop mouse or touch gestures.
For more detailed information see the official documentation.igx-tab-bar
selector removed from IgxBottomNavComponent
.igxGrid
filtering operandsigxGrid
filter_multiple
method is removed. filter
method and filteringExpressionsTree
property could be used instead.filter
method has new signature. It now accepts the following parameters:
name
- the name of the column to be filtered.value
- the value to be used for filtering.conditionOrExpressionTree
- (optional) this parameter accepts object of type IFilteringOperation
or IFilteringExpressionsTree
. If only a simple filtering is required a filtering operation could be passes (see bellow for more info). In case of advanced filtering an expressions tree containing complex filtering logic could be passed.ignoreCase
- (optional) - whether the filtering would be case sensitive or not.onFilteringDone
event now have only one parameter - IFilteringExpressionsTree
which contains the filtering state of the filtered column.filter_global
method clears all existing filters and applies the new filtering condition to all grid's columns.IFilteringExpression
condition property is no longer a direct reference to a filtering condition method, instead it's a reference to an IFilteringOperation
IgxFilteringOperand
is a base filtering operand, which can be inherited when defining custom filtering conditionsIgxBooleanFilteringOperand
defines all default filtering conditions for boolean
typesIgxNumberFilteringOperand
defines all default filtering conditions for numeric
typesIgxStringFilteringOperand
defines all default filtering conditions for string
typesIgxDateFilteringOperand
defines all default filtering conditions for Date
typesIgxColumnComponent
now exposes a filters
property, which takes an IgxFilteringOperand
class reference
operations
property of the IgxFilteringOperand
with operations of IFilteringOperation
typeexport class IgxCustomFilteringOperand extends IgxFilteringOperand {
// Making the implementation singleton
private static _instance: IgxCustomFilteringOperand = null;
protected constructor() {
super();
this.operations = [{
name: 'custom',
logic: (target: string) => {
return target === 'My custom filter';
}
}].concat(this.operations); // Keep the empty and notEmpty conditions from base
}
// singleton
// Must implement this method, because the IgxColumnComponent expects it
public static instance(): IgxCustomFilteringOperand {
return this._instance || (this._instance = new this());
}
}
igxGrid
now supports grouping of columns enabling users to create criteria for organizing data records. To explore the functionality start off by setting some columns as groupable
:
<igx-grid [data]="data">
<igx-column [field]="'ProductName'"></igx-column>
<igx-column [field]="'ReleaseDate'" [groupable]="true"></igx-column>
</igx-grid>
For more information, please head over to igxGrid
's ReadMe or the official documentation.
igxGrid
now supports multi-column headers allowing you to have multiple levels of columns in the header area of the grid.
For more information, head over to official documentation
igxGrid
theme now has support for alternating grid row background and text colors.
igxGrid
now has a toolbar (shown using the showToolbar
property) which contains the following features:
toolbarTitle
property)columnHiding
property)columnPinning
property)exportExcel
property)exportCsv
property)igxColumn
changes:
igxGrid
API is updated
IgxGridRow
API is updated:
igxCell
default editing template is changed according column data type. For more information you can read the specification or the official documentation
igxCombo
component added
<igx-combo #combo [data]="towns" [displayKey]="'townName'" [valueKey]="'postCode'" [groupKey]="'province'"
[allowCustomValues]="true" placeholder="Town(s)" searchPlaceholder="Search town..."></igx-combo>
igxCombo features:
- Data Binding
- Value Binding
- Virtualized list
- Multiple Selection
- Filtering
- Grouping
- Custom values
- Templates
- Integration with Template Driven and Reactive Forms
- Keyboard Navigation
- Accessibility compliance
For more detailed information see the official igxCombo documentation.
igxDropdown
component added
<igx-drop-down (onSelection)="onSelection($event)" (onOpening)="onOpening($event)">
<igx-drop-down-item *ngFor="let item of items" disabled={{item.disabled}} isHeader={{item.header}}>
{{ item.field }}
</igx-drop-down-item>
</igx-drop-down>
igxDropDown displays a scrollable list of items which may be visually grouped and supports selection of a single item. Clicking or tapping an item selects it and closes the Drop Down.
A walkthrough of how to get started can be found here
igxDropdown features:
- Single Selection
- Grouping
- Keyboard Navigation
- Accessibility compliance
igxChip
and igxChipsArea
components added
<igx-chips-area>
<igx-chip *ngFor="let chip of chipList" [id]="chip.id">
<label igxLabel>{{chip.text}}</label>
</igx-chip>
</igx-chips-area>
For more detailed information see the official igxChip documentation.
igxToggle
changes
onOpening
event added.onClosing
event added.igxToggleAction
new overlaySettings
input controls how applicable targets display content. Provides defaults with positioning based on the host element. The closeOnOutsideClick
input is deprecated in favor of the new settings and will be removed in the future.
igxList
now supports a 'loading' template which is shown when the list is empty and its new isLoading
property is set to true
. You can redefine the default loading template by adding an ng-template
with the igxDataLoading
directive:
<igx-list [isLoading]="true">
<ng-template igxDataLoading>
<p>Please wait, data is loading...</p>
</ng-template>
</igx-list>
Breaking changes:
igniteui-angular
package.igxGrid
changes:
ISortingExpression
or Array<ISortingExpression>
.igxToggle
changes
collapsed
now read-only, markup input is removed.onOpen
event renamed to onOpened
.onClose
event renamed to onClosed
.open
method does not accept fireEvents optional boolean parameter. Now it accepts only overlaySettings optional parameter of type OverlaySettings
.close
method does not accept fireEvents optional boolean parameter.toggle
method does not accept fireEvents optional boolean parameter. Now it accepts only overlaySettings optional parameter of type OverlaySettings
.igxDialog
changes
open
method does not accept fireEvents boolean parameter. Now it accepts only overlaySettings optional parameter of type OverlaySettings
.Breaking change All properties that were named isDisabled
have been renamed to disabled
in order to acheive consistency across our component suite. This affects: date-picker, input directive, input-group, dropdown-item, tabbar and time-picker.
The deprecated igxForRemote
input for the igxFor
directive is now removed. Setting the required totalItemCount
property after receiving the first data chunk is enough to trigger the required functionality.