Gambas Documentation - /comp/gb.qt4/gridview/.data

/comp/gb.qt4/gridview/.data

# Event GridView.Data (gb.qt4)

Event Data ( Row As Integer, Column As Integer )

This event is raised when the data stored in the specified cell is needed (usually to draw it).

- Row is the cell row.

- Column is the cell column.

You must provide the cell contents by using the fields of the Data property.

### Example

    Public Sub GridView1_Data(Row AS Integer, Column AS Integer)

      GridView1.Data.Text = "This is cell " & Row & "," & Column

    End