Grid
Updated sample code:
For row=0 to 3
For col=0 to 3
Grid1.setValue(row,col,row*col)
Next
Next
Function Button1_onclick()
MsgBox "Grid(3,3)=" & Grid1.getValue(3,3)
End Function
Function Grid1_onclick()
s=Split(event.target.id, "_")
MsgBox "Click on " & s(0) & " at row " & s(1) & " and column " & s(2)
MsgBox "Value is " & Grid1.getValue(s(1),s(2))
End Function