@univerjs/sheets v0.4.2 • 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
packages/sheets/src/commands/mutations/set-worksheet-col-width.mutation.ts:35 (opens in a new tab)