RasterListItem.setData( dataIdx, value )
Changes the value of data element in a list item.
Parameters
Name |
Type |
|
Description |
dataIdx |
number |
|
zero-based index of the data element to assign a value to.
NOTE: this value refers to the data array of the item
object, NOT A index of a table list column. If the data element
being changed is referenced by a table list column, the table
will also reflect the change. |
value |
any |
|
Value to be set |
Returns
Type |
Description |
object |
The list item object. This allow for chaining multiple setter methods in
one single statement. |