[GH-ISSUE #14] implement column resize #7

Closed
opened 2026-03-23 20:33:27 +00:00 by mirror · 1 comment
Owner

Originally created by @pjlammertyn on GitHub (Apr 11, 2023).
Original GitHub issue: https://github.com/RADar-AZDelta/azd-radar-data-datatable/issues/14

Originally assigned to: @Louis-Herreman on GitHub.

see ColumnResize.svelte

using pointermove-pointerup or mousemove-mouseup/down events or the dragstart-dragmove event

you will need to calculate the width of each column (if not set by the columns property)

the resize can not be larger than the width to the columns next to it!

Originally created by @pjlammertyn on GitHub (Apr 11, 2023). Original GitHub issue: https://github.com/RADar-AZDelta/azd-radar-data-datatable/issues/14 Originally assigned to: @Louis-Herreman on GitHub. see [ColumnResize.svelte](https://github.com/RADar-AZDelta/RADar-DataTable/blob/pjl/src/lib/components/ColumnResize.svelte) using pointermove-pointerup or mousemove-mouseup/down events or the dragstart-dragmove event you will need to calculate the width of each column (if not set by the [columns property](https://github.com/RADar-AZDelta/RADar-DataTable/blob/pjl/src/lib/components/DataTable.d.ts#L38)) the resize can not be larger than the width to the columns next to it!
Author
Owner

@pjlammertyn commented on GitHub (Apr 11, 2023):

zie svelte-headless-table voor code voorbeeld

<!-- gh-comment-id:1504031214 --> @pjlammertyn commented on GitHub (Apr 11, 2023): zie [svelte-headless-table](https://github.com/bryanmylee/svelte-headless-table/blob/main/src/lib/plugins/addResizedColumns.ts#L69) voor code voorbeeld
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RADar-AZDelta/archived-azd-radar-data-datatable#7
No description provided.