i need to know how to get the count & set the value in a combo box inside sapguigrid.

I went through the post "how to fetch value from combo box", but in sap the cells inside a table comes under a grid & its not considered as combo box but as cells only.

could anyone help me with this.