MCPcopy Create free account
hub / github.com/TanStack/table / onEnd

Function onEnd

packages/table-core/src/features/ColumnSizing.ts:420–432  ·  view source on GitHub ↗
(clientXPos?: number)

Source from the content-addressed store, hash-verified

418 const onMove = (clientXPos?: number) => updateOffset('move', clientXPos)
419
420 const onEnd = (clientXPos?: number) => {
421 updateOffset('end', clientXPos)
422
423 table.setColumnSizingInfo((old) => ({
424 ...old,
425 isResizingColumn: false,
426 startOffset: null,
427 startSize: null,
428 deltaOffset: null,
429 deltaPercentage: null,
430 columnSizingStart: [],
431 }))
432 }
433
434 const contextDocument = safelyAccessDocument(_contextDocument)
435

Callers 1

ColumnSizing.tsFile · 0.85

Calls 1

updateOffsetFunction · 0.85

Tested by

no test coverage detected