Releases: bryanmylee/svelte-headless-table
v0.12.2 Export Label classes
For an easier time defining re-usable labels for headers and cells, use the DataLabel
, DisplayLabel
, and HeaderLabel
types.
const editableCell: DataLabel<unknown> = ({ column, row, value }) => {...};
Full Changelog: v0.12.1...v0.12.2
v0.12.1 Export Column classes
Export Column
classes as part of the library's interface.
Full Changelog: v0.12.0...v0.12.1
v0.12.0 Custom dataIds on DataBodyRow
This release allows the specification of custom dataId
values for each DataBodyRow
. This makes it easier to reference the original item in the data source by searching for items with a matching dataId
.
If no custom dataId
is passed, defaults to the previous behaviour of using the item index.
What's Changed
- Custom
dataId
on BodyRows by @bryanmylee in #38
Full Changelog: v0.11.0...v0.12.0
v0.11.0 `addDataExport`
addDataExport
allows for reading the data source as it is currently transformed by the table.
This is useful if you need to export data from the table with all plugin transformations applied.
v0.10.4 Fix interaction between `addResizedColumns` and `addGridLayout`
While this doesn't fully solve the grid layout issue, it alleviates the biggest issue with addGridLayout
by specifying the width of the column on each cell explicitly.
v0.10.3 Export model classes
Export a reference to core models as documented here.
v0.10.2 Fix examples build issue
bump version
v0.10.1 Reduce bundle size
Strip test files from package to reduce bundle size.
v0.10.0 `addGridLayout`
addGridLayout
configures the table to automatically provide the styles required to render the table with CSS grid.
What's Changed
addGridLayout
by @bryanmylee in #25
Full Changelog: v0.9.1...v0.10.0
v0.9.1
Use drag
action instead of event handler.
Full Changelog: v0.9.0...v0.9.1