Example 49 - Spreadsheet Drag-Fill

Example 49: Spreadsheet Drag-Fill see  code

{#if !hideSubTitle}
Spreadsheet with drag-fill, hybrid selection model. Type a few values in the grid and then select those cells and use the bottom right drag handle spread the selection and auto-fill the values to other cells. Use onDragReplaceCells event to customize the drag-fill behavior. Use { enableSelection: true, selectionOptions: { selectionType: 'mixed' }} grid option to enable the new Hybrid Selection Model.
{/if}
(svelteGrid = instance)} onDragReplaceCells={(event) => copyDraggedCellRange(event.detail.args)} />