@univerjs/sheets v0.5.0-beta.1 • Docs
Function: SetWorksheetColWidthMutationFactory()
function SetWorksheetColWidthMutationFactory(params, worksheet): ISetWorksheetColWidthMutationParams
This factory is for generating undo mutations for command DeltaColumnWidthCommand.
Note that this mutation may return multi mutations params if the column width is different for each column in the range.
Parameters
Parameter | Type |
---|---|
params | ISetWorksheetColWidthMutationParams |
worksheet | Worksheet |
Returns
ISetWorksheetColWidthMutationParams
Defined in
submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-col-width.mutation.ts:35