Home > zotero-plugin-toolkit > VirtualizedTableHelper > setProp
Set properties by name.
Signature:
setProp<K extends keyof VirtualizedTableProps, V extends VirtualizedTableProps[K]>(propName: K, propValue: V): VirtualizedTableHelper;
Parameter |
Type |
Description |
---|---|---|
propName |
K |
Property name |
propValue |
V |
Property value |
id
and getRowCount
are required. If id
is not set, it's a random string.