Skip to main content
Docs
›
list.setCells

list.setCells

List

Sets one value in every row of a list that is not attached to another row.

Signature

list.setCells(ref: ElementRef, key: string, cell: string, value: AbiValue, options?: RowWriteOptions): void

Parameters

NameTypeRequiredDescription
refElementRefRequiredThe element it works on, usually self.
keystringRequiredThe name of the list.
cellstringRequiredThe name of the cell.
valueAbiValueRequiredThe value to store.
optionsRowWriteOptionsOptionalWhich rows to change, with where.

Returns

void Nothing.