If you populate your grid control under
OnSetup
then that's not correct way of doig that
that event is used to configure grid control , register cell types etc..
you should add columns and rows in the parent class where you have created grid control
for example :
myGrid.Create()
myGrid.AddColumn()
myGrid.AddRow()
myGrid.StartEdit()
because grid becomes ready after
OnSetup
has returned