WebListBox.CellValueAt

From Xojo Documentation

Method

CellValueAt(Row As Integer, Column As Integer) As String

New in 2020r1

Supported for all project types and targets.


Allows you to get or set the value associated with the cell at the Row and Column passed.


Method

CellValueAt(Row As Integer, Column As Integer) As WebListBoxCellRenderer

New in 2020r1

Supported for all project types and targets.


Allows you to get or set the WebListBoxCellRenderer to used to render custom a custom cell at the Row and Column passed.

Notes

Passing an index that is outside the bounds of the rows and/or columns will result in an OutOfBoundsException.

Sample Code

This example sets the cell value at row 0, column 0 to "Trixie":

ListBox1.CellValueAt(0, 0) = "Trixie"

This example, called from the Opening event of a WebListBox, sets the cell value at row 0, column 2 to an instance of ButtonColumn which is a subclass of WebListBoxCellRenderer:

Me.CellValueAt(0,2) = New ButtonColumn("Edit", "Delete")

See Also

WebListBoxCellRenderer class.