Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

v0.0.41

Choose a tag to compare

@scaredcat scaredcat released this 31 Aug 07:17
eb79d1f
  • Add ability to specify grouped columns eg.
[
  {
    header: 'Fruit',
    columns: [
      {header: 'Sour', dataKey: 'fruit.isSour'},
      {header: 'Sweet', dataKey: 'fruit.isSweet'}
    ],
  },
  {
    header: 'Vegetables',
    columns: [
      {header: 'Red', dataKey: 'vegetable.isRed'},
    ]
  }
]
  • Add ability to display a summary line at the top and bottom of the table. Summary data passed in as an object and accessors are specified as:
[{
  header: 'Red Fruit',
  summary: 'fruit.red.count'
  dataKey: 'fruit.isRed'
}]