Example
let sHtml = "<select>";
const iRowCount = oDataStore.rowCount;
for ( let iRow = 0; iRow < iRowCount; iRow++ )
{
sHtml += `<option>${oDataStore.getCell( iRow, 0 ).value}</option>`;
}
sHtml += "</select>";
oControlHost.container.innerHTML = sHtml;
Members
(readonly) columnIndex :Integer
The column index (zero based).
Type:
- Integer
(readonly) formattedValue :String
The cell's formatted value. If there's no formatted value, the value
(unformatted) is returned.
Type:
- String
(readonly) rowIndex :Integer
The row index (zero based).
Type:
- Integer
(readonly) value :Number|String
The cell's value.
Type:
- Number |
String
(readonly) valueIndex :Integer
The cell's index (zero based) into the columnValues
. If this column is not categorical data, the index will be NaN.
Type:
- Integer