Skip to content

Releases: IgniteUI/igniteui-angular-samples

14.1.0

14 Sep 08:46
3dac621
Compare
Choose a tag to compare

New samples and functionalities based on the Ignite UI Angular upgrade to 14.1.

Release notes
Blog

New Features

  • IgxCombo and IgxSimpleComboComponent

    • filterFunction input is added. The new property allows changing of the way filtering is done in the combos. By default filtering is made over the values in combo's data when it is a collection of primitive values, or over the values as defined in displayKey of the combo. If custom filtering function is provided filtering will be done as specified in the provided function.
    • filteringOptions are extended and now contains filterable and filteringKey properties. Setting filterable determines whether combo will be filterable. By default filtering is done over the data value when they are primitive, or over the field of the values equal to displayKey. filteringKey allows to filter data by any data related key.
  • igxPivotGrid

    • Add option to template the pivot value chip content:
    <ng-template igxPivotValueChip let-value>
            {{ value.member }}
    </ng-template>
    
    • Add support for usage with igxGridState to persist state of the pivotConfiguration with an additional pivotConfiguration option:
     <igx-pivot-grid
            #grid1
            [igxGridState]="options" ...
        public options : IGridStateOptions = {
        pivotConfiguration: true
    };
    

    One known issue of the igxGridState directive is that it cannot store functions as the state is stored as string.
    As a result any custom functions set to memberFunction, aggregator, formatter, styles etc. will not be stored. Restoring any of these can be achieved with code on application level.
    Hence we have also exposed 2 new events:
    - dimensionInit - emits when a dimension from the configuration is being initialized.
    - valueInit - emits when a value from the configuration is being initialized.
    Which can be used to set back any custom functions you have in the configuration.
    The default aggregator function, like the ones from IgxPivotNumericAggregate, IgxPivotDateAggregate etc., will be restored out of the box. However if you have any custom aggregators (or other custom functions) they need to be set back in the valueInitevent, for example:

        public onValueInit(value: IPivotValue) {
        if (value.member === 'AmountOfSale') {
            value.aggregate.aggregator = IgxTotalSaleAggregate.totalSale;
        }
    }
    

    Same applies to any custom functions on the dimension, like memberFunction. If it is a custom function you can set it back on the dimensionInit event:

     public onDimensionInit(dim: IPivotDimension) {
        if (dim.memberName === 'AllCities') {
            dim.memberFunction = () => 'All';
        }
    }
    
    • igxGridState:
      Exposed a stateParsed event to the state directive that can be used to additionally modify the grid state before it gets applied.
    this.state.stateParsed.subscribe(parsedState => {
            parsedState.sorting.forEach(x => x.strategy = NoopSortingStrategy.instance());
        });
    
  • igxGrid

    • Added built-in validation mechanism for Grid Editing. Extends the Angular Form validation functionality
      You can configure it in 2 ways:

      1. Via template-driven configuration on the igx-column of the grid:

        <igx-column required minlength="4" ...>
      2. Via reactive forms using the FormGroup exposed via the formGroupCreated event of the grid:

        <igx-grid (formGroupCreated)='formCreateHandler($event)' ...>
        public formCreateHandler(formGr: FormGroup) {
            // add a validator
            const prodName = formGr.get('UserName');
            prodName.addValidators(forbiddenNameValidator(/bob/i))
        }

      Edited cells will enter an invalid state when validation fails and will show an error icon and message. Cell will remain invalid until the value is edited to a valid value or the related state in the validation service is cleared.

      You can refer to the documentation for more details: https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/validation

    • Added ability to auto-size columns to the size of their cells and header content on initialization by setting width auto:

    <column width='auto' ...>
    
    • Added support for restoring filtering expressions with custom filtering operands for the IgxGridStateDirective.
  • Added the IgcFormControl directive that, when imported with its IgcFormsModule, is designed to seamlessly attach to form components from the Ignite UI for WebComponents package and allows using them in Angular templates and reactive forms with support for ngModel and formControlName directives. Currently the only Web Component with support through the directive is igc-rating.

14.0.0

14 Jun 13:08
77b50ae
Compare
Choose a tag to compare

Upgrade Ignite UI for Angular samples to 14.0.0 version

What's Changed

Full Changelog: 13.2.0...14.0.0

13.2.0

26 May 07:36
6c9dd41
Compare
Choose a tag to compare

Upgrade Ignite UI for Angular samples to 13.2.0 version

What's Changed

Full Changelog: 13.1.0...13.2.0

13.1.0

02 Mar 17:48
3bbd061
Compare
Choose a tag to compare

13.0.0

23 Nov 16:35
4a5de6c
Compare
Choose a tag to compare

12.1.0

02 Aug 13:45
ea22a95
Compare
Choose a tag to compare

12.0.0

17 May 14:00
19ee441
Compare
Choose a tag to compare

11.1.0

31 Mar 08:13
01950d4
Compare
Choose a tag to compare

Update Igniteui for Angular 11.1.4 version.
Added a new sample FinJS with DockManager and SignalR service

11.0.0

13 Nov 15:06
7c7b351
Compare
Choose a tag to compare
  • Update to docs with Angular 11 changes.
  • Updated toolbar topics
  • Updated TOC labels
  • SEO improvements

10.2.0

29 Oct 06:57
75ca3ef
Compare
Choose a tag to compare

New/updated samples related to some of the following components:

  • Grid Row Adding
  • Grid editing sequence
  • Combo
  • Dialog
  • Calendar
  • Exporter options

For more, check the Product Changelog