Skip to content

Releases: neolution-ch/react-data-table

Release 5.14.0

15 Dec 09:41

Choose a tag to compare

Fixed

  • pagination skeleton on data loading and fetching.

Release 5.13.1

10 Nov 08:51

Choose a tag to compare

Fixed

  • Virtualization height computation. This is a well know issue on Tanstack virtualizer package.
    When using virtualization, assign to your table the following css

    :root {
    --your-pseudo-height--variable: 0px;
    }
    
    table::after {
        content: "";
        display: block;
        height: var(--your-pseudo-height--variable);
      }
    ```css
    
    and use the `onPseudoHeightChange` to set it on your side
    
    ```tsx
    <ReactDataTable<T>
    ...
    onPseudoHeightChange={(height) =>   document.documentElement.style.setProperty("--your-pseudo-height--variable", `${height}px`)}
    />

Release 5.13.0

08 Oct 07:06

Choose a tag to compare

Changed

  • Updated react-pattern-ui from 3.4.0 to 5.3.0

Added

  • virtualization features.
  • pagingNavigationComponents property to customize the paging navigation components

Release 5.12.0

15 Sep 00:54

Choose a tag to compare

Added

  • option subRowComponent to pass a render-function for a subrow. This will be rendered additionally to the subrows and if not wanted, make sure the subrows are passed as empty arrayd [], following an example:
const { table } = useReactDataTable<T>({
  data,
  columns,
  reactTableOptions: {
    enableExpanding: true,
    getSubRows: (_) => [],
    getRowCanExpand: (row) => row.shouldRenderSubRow,
  },
});

Release 5.11.0

03 Jun 08:11

Choose a tag to compare

Added

  • added a flag isStriped to the ReactDataTable component to enable/disable striped rows
  • added a flag showClearSearchButton to the ReactDataTable component to show/hide the clear search button

Release 5.10.0

29 Apr 08:48

Choose a tag to compare

Added

  • table as customFilter parameter.
  • export for getModelFromColumnFilter and getColumnFilterFromModel utility functions.

Release 5.9.1

19 Dec 08:11

Choose a tag to compare

Fixed

  • meta dropdownFilter in order to be controlled.

Release 5.9.0

17 Dec 10:04

Choose a tag to compare

Added

  • columnPinning feature. Allows the pinning of columns.

Release 5.8.0

02 Dec 17:25

Choose a tag to compare

Added

  • option hideHeaderFilters added to the column meta to hide the header filter (needs to be set to true for all columns)
  • option headerFilterStyle added to the column meta to be able to style the header filter
  • option customFilterName added to the column meta to be able to use different mappings than the accessor of the column description

Fixed

  • pkg.pr.new workflow in order to prevent caching issues

Release 5.7.0

04 Oct 14:10

Choose a tag to compare

Added

  • property onRowClick in ReactDataTable in order to define a custom function to execute the row is clicked
  • property enableRowClick in ReactDataTable in order to define if a row should be clickable or not