Set ID-grid cell
traceable_grid_cellSet one ID-grid cell's value, identified by the id-ROW (row.itemId or row.atOrder) and the 0-based colIdx. NON-DESTRUCTIVE: the cell keeps its identity and the row's trace links survive — setting the id column changes the visible TraceID without breaking links (unlike traceable_segment_write). id/text columns take the raw value, and a text column also takes an image as {width=60%} (upload it with traceable_image_upload); test-result normalises PASS/FAIL; checkbox normalises to true/false (true/yes/1/✓ vs false/no/0/✗); dropdown takes one of the column's options (matched ignoring case; any other value is refused). Link cells are NOT settable here — use traceable_link_create instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Identify the row by itemId or atOrder (pass one). | |
| value | Yes | The new cell value | |
| colIdx | Yes | 0-based index of the column whose cell to set | |
| documentId | Yes | The document UUID | |
| baseRevision | No | The revision (meta.revision) from the traceable_doc_read, or the previous write, this change is based on. When given, the write is refused with nothing changed if the document has changed since, so you never overwrite edits you have not seen. Each write returns the current revision. The revision tracks the document's content rows, so changes that touch no row (its name and other metadata, the reference list, Test Plan entries) return it unchanged. A revision is an opaque value: compare it whole, never read meaning into its parts (they are not a counter). |