Skip to content

26.0.0

Choose a tag to compare

@siemens-element-bot siemens-element-bot released this 17 Mar 08:36
· 175 commits to main since this release

26.0.0 (2026-03-17)

Features

  • replace scss @import with @use (14073de)
  • update to Angular 21 (70c50a3)

Bug Fixes

  • always maintain proportional column sizes (d69957c), closes #617
  • detect tree changes after treeAction emit (6645fb0)
  • do not announce non‑draggable headers as clickable (55f6021), closes #583
  • gracefully ignore non-sortable rows when sorting (b6dfdcf), closes #578 #611
  • only use trackByProp on row level with strict type (9bdf3f2)
  • sync header and body horizontal scroll via direct DOM scrollLeft (54a4132)

BREAKING CHANGES

  • DatatableComponent.trackByProp input now enforce strict type check as key of row.

    Before:

    // Even though name is not a valid prop on rows it is allowed to be used with trackByProp.

    <ngx-datatable
     trackByProp="'name'"
     [rows]="[{id: 1}, {id: 2}]"
    >
    

    After:
    Typescript would give compilation error as name is not known property in rows.

  • Renamed SCSS variables:

    • $disable-row-text-color to $datatable-disable-row-text-color
    • $datatble-ghost-cell-animation-duration to $datatable-ghost-cell-animation-duration

    This only affects the material and bootstrap theme.

  • Angular 21+ is required.
    Follow the Angular update guide to update your app: https://angular.dev/update-guide?v=19.0-20.0;;