SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function useSheetComments

    • The threaded comments on a sheet, in reading order, kept current.

      Parameters

      Returns IComment[]

      Notes are not threads and are left out. The array keeps its identity until a comment on the sheet is added, removed, moved, edited, replied to or resolved.

      const open = useSheetComments(sheet, { resolved: false });
      return <ul>{open.map((comment) => <li key={comment.getId()}>{comment.getContent()}</li>)}</ul>;