API Reference
@univerjs
@univerjs/ui
functions
Handletablemergedata

@univerjs/ui v0.4.2Docs


Function: handleTableMergeData()

function handleTableMergeData(data, selection?): {
  data: any[];
  mergeData: {
     endColumn: any;
     endRow: any;
     startColumn: any;
     startRow: any;
    }[];
}

Parameters

ParameterType
dataany[]
selection?IRange

Returns

{
  data: any[];
  mergeData: {
     endColumn: any;
     endRow: any;
     startColumn: any;
     startRow: any;
    }[];
}
NameTypeDefined in
dataany[]packages/ui/src/utils/cell.ts:821 (opens in a new tab)
mergeData{ endColumn: any; endRow: any; startColumn: any; startRow: any; }[]packages/ui/src/utils/cell.ts:822 (opens in a new tab)

Defined in

packages/ui/src/utils/cell.ts:785 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.