CellComments.resolve Method
Resolves or reopens the conversation without altering its entries.
Owner: CellComments. Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Syntax
resolve(isResolved?: boolean): void
Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
isResolved | boolean | undefined | Yes | Value matching isResolved's declared type and the owning object's validation rules. |
Return Value
void.
Examples
Use a fresh sample workbook for this example. In the browser pass editor.workbook; in Node.js pass the server control. Document-bound objects are obtained from that same owner.
import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';
function demonstrateCellCommentsResolve(control: ServerSheetControl) {
const book = control.workbook;
const sheet = book.sheets.at(0);
const comments = sheet.cell('B10').comments;
comments.add('Please review this total.');
comments.resolve();
}
Remarks
Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.