0.8.0-prerelease • Public • Published

This is a fork of Hector Romero's aurelia-table plugin. It contains some optimizations of sorting/filtering and supports specifying column datatype with a corresponding registry of default sort functions. By default, columns with type Number, Date, and Boolean will use a numeric sort.

There is no separate documentation for this fork (sorry).

Please visit the project page for the documentation and examples.


Aurelia Table is very easy to use, and you have complete control over the look and feel. You can make your table look exactly the way you want using plain html and css. Out of the box you will get:

  • Row Filtering
  • Column Sorting
  • Client side pagination
  • Row Selection

For a complete list of features and examples please visit the project page.

Release Notes

Fork by Kris Dages


  • Allow Array of path properties for sortKey instead of dotted syntax.


  • Changes to sort functionality
    • Added bindable id property to sort attribute
    • Added setActive(order) method to sort attribute
      • Triggers a sort on the attribute as if it had been clicked, using the specified order.
    • Added sorting methods to table attribute
      • setDefaultSort(sortAttribute)
        • Activates the provided attribute if the table is not already sorted.
          This change prevents forced sorts when columns are added to the table.
      • clearSort() - Removes any sorting currently applied to the table.
      • sortByAttributeId(id, order) / sortByKey(key, order)
        • Sort by the sort attribute with the given id/key, using the specified order.
          If there is not a sort attribute with the given id/key, the table will be sorted by that attribute if it is added before the table is sorted again.
          (This behavior is to support adding a column and sorting by it programmatically within the same event frame)


  • Fixed bug in sort function numericDemoteNull


  • Optimized paging - Don't re-filter/sort for page changes
  • Added lastDataUpdate bindable property that contains:
    • the type of update: "data" | "sort" | "filter" | "page"
    • the applied sort properties
    • the applied filter values
    • displayData
    • and displayDataUnpaged


  • Allow sort functions for a column type to be specified as a tuple of [sortAsc, sortDesc] instead of a single asc sort function.
  • Added numericDemoteNull tuple to sortFunctions export.
    (always sorts null/undefined to the bottom for both asc/desc sort)


  • Expose bindable property displayDataUnpaged for accessing the sorted/filtered data without paging.


  • Added bindable delegate onFilterChanged


  • Optimized sorting and filtering. Added binding for sort datatype to aut-sort attribute.
End Fork by Kris Dages


  • Disable pagination if Page size is 0. Fixes #32
  • Improve support for webpack 2.0. Fixes #38

Package Sidebar


npm i @krisdages/aurelia-table

Weekly Downloads






Unpacked Size

397 kB

Total Files


Last publish


  • krisdages