<div class="meta" robots="noindex">

</div>

Method

# WebListBox.CellValueAt

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2022r1. Please use `WebListBox.CellTextAt<weblistbox.celltextat>` as a replacement.

</div>

<div class="rst-class">

forsearch

</div>

WebListBox.CellValueAt

**CellValueAt**(row As `Integer</api/data_types/integer>`, column As `Integer</api/data_types/integer>`) As `String</api/data_types/string>`

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

**CellValueAt**(row As `Integer</api/data_types/integer>`, column As `Integer</api/data_types/integer>`) As `Variant</api/data_types/variant>`

Allows you to get or set the `WebListBoxCellRenderer</api/web/weblistboxcellrenderer>` used to render 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</api/exceptions/outofboundsexception>`.

## Example code

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

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

This example, called from the `Opening<webcontrol.opening>` event of a <span class="title-ref">WebListBox</span>, sets the cell value at row 0, column 2 to an instance of ButtonColumn which is a subclass of `WebListBoxCellRenderer</api/web/weblistboxcellrenderer>`:

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