Unopinionated and extensible data tables for Svelte
Bot releases are visible (Hide)
Published by bryanmylee about 2 years ago
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.14.2...v0.14.3
Published by bryanmylee about 2 years ago
addGroupBy
plugin removing subrows from grouped rows by @bryanmylee in https://github.com/bryanmylee/svelte-headless-table/pull/53
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.14.1...v0.14.2
Published by bryanmylee about 2 years ago
Pass the entire DisplayBodyCell
object for display column data.
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.14.0...v0.14.1
Published by bryanmylee about 2 years ago
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.13.4...v0.14.0
Published by bryanmylee about 2 years ago
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.13.3...v0.13.4
Published by bryanmylee about 2 years ago
Expose top-level stores on the addSelectedRows
plugin. This allows for subscribing to whether all/some rows (or rows on the current page) are selected. This also allows for efficient "select all" behavior.
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.13.2...v0.13.3
Published by bryanmylee about 2 years ago
Published by bryanmylee about 2 years ago
Published by bryanmylee about 2 years ago
instanceof
workaround by @bryanmylee in https://github.com/bryanmylee/svelte-headless-table/pull/41
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.12.2...v0.13.0
Published by bryanmylee about 2 years ago
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: https://github.com/bryanmylee/svelte-headless-table/compare/v0.12.1...v0.12.2
Published by bryanmylee about 2 years ago
Export Column
classes as part of the library's interface.
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.12.0...v0.12.1
Published by bryanmylee about 2 years ago
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.
dataId
on BodyRows by @bryanmylee in https://github.com/bryanmylee/svelte-headless-table/pull/38
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.11.0...v0.12.0
Published by bryanmylee over 2 years ago
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.
Published by bryanmylee over 2 years ago
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.
Published by bryanmylee over 2 years ago
Export a reference to core models as documented here.
Published by bryanmylee over 2 years ago
Published by bryanmylee over 2 years ago
Strip test files from package to reduce bundle size.
Published by bryanmylee over 2 years ago
addGridLayout
configures the table to automatically provide the styles required to render the table with CSS grid.
addGridLayout
by @bryanmylee in https://github.com/bryanmylee/svelte-headless-table/pull/25
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.9.1...v0.10.0
Published by bryanmylee over 2 years ago
Use drag
action instead of event handler.
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.9.0...v0.9.1
Published by bryanmylee over 2 years ago
Introducing column resizing with the addResizedColumns
.
addResizedColumns
by @bryanmylee in https://github.com/bryanmylee/svelte-headless-table/pull/23
Full Changelog: https://github.com/bryanmylee/svelte-headless-table/compare/v0.8.3...v0.9.0