ka-table v5.1.0 Release Notes

Release Date: 2020-09-04 // 23 days ago
  • to obtain element ref use ref property:

           tableBody: { // tableBody is a new property in childComponents
                elementAttributes: () => ({
                  ref: theadRef
                })
              },
    

Previous changes from v5.0.1

  • ๐Ÿ†• new props:

    const tableProps = {
      ...
      columnReordering: boolean; 
      height: string | number;
      width: string | number;
    }
    

    ๐Ÿ†• new items of childComponents:

      public headCellContent?: ChildComponent<IHeadCellProps>;
      public tableWrapper?: ChildComponent<ITableProps>;
    

    ๐Ÿ’ฅ Breaking change:
    to set the max-height use

    .ka-table-wrapper{
      max-height: 400px;
    }
    

    instead of

    .ka-tbody{
      max-height: 400px;
    }