Thank you Eyup for your reply. I will review your sample and try implementing your suggestions as soon as I can get the opportunity.
One thing I would like to mention that may or may not be an issue. I see that you created a DataTable and the column.DataTypes in GetGridSource. The way our code is structed is that in our equivalent GetGridSource (getDataGrid), we created an IDatabase db connection and use sqlBuilder to populate our List.
Will it cause problems if I create the columns in our RagGrid1_PreRender and also in getDataGrid? Or can I just use code example in private DataTable GetGridSource() and use that in the PreRender?
Apologize for the basic questions, this is all new to me.