I think this is simple but I'm struggling.
err, "Starting point" not staring point ;)
If you want a button in every row of a column, you'd have to call grid.AddButton() in a loop for all rows.
OK. Do you which of the demos shows adding buttons to a cell ? I'm having trouble finding one.
Adding a button in a cell is straightforward with the grid.AddButton() method.
Example:
Thanks for the help with this.
If you just fill the grid one time with grid.AddImageIdx() the grid will free all itself when the grid is destroyed. When you refill the grid multiple times during runtime, you need to take care to remove cell graphic elements when you add new ones. You do that with grid.Clear or grid.RemoveImageIdx() per cell. Note that grid.Clear works for cells from 0,0, to ColCount -1, RowCount- 1, so if you had changed RowCount or ColCount during operations that could affect that you do not clear all cells. It's recommended to first perform Clear and then change RowCount or ColCount.
Great - Grid.clear worked !
Yes & indeed still at work.