Skip to main content
Docs
›
list.setCell

list.setCell

List

Sets one value in a row of a list.

Signature

list.setCell(ref: ElementRef, key: string, row: string, cell: string, value: AbiValue): void

Parameters

NameTypeRequiredDescription
refElementRefRequiredThe element it works on, usually self.
keystringRequiredThe name of the list.
rowstringRequiredThe row's key. A row button passes it.
cellstringRequiredThe name of the cell.
valueAbiValueRequiredThe value to store.

Returns

void Nothing.