Not sure about datagrid. I always use MSFlexgrid.

In MSFlexgrid you would add a column like this:

MSFlexgrid1.cols=MSFlexgrid.cols + 1

Don't know if datagrid has something similar or not but you can try it.