Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4695
add column to the ultragrid at run time
posted

Dear all,

In initialize the form, I have init ultragrid. Could I add one column without refreshing the whole grid, it means no clear the data in the ultragrid? Any sample code??

DataTable dt;

public void showGrid()

{

dt=new DataTable();

dt.columns.Add(dc); ...........

 DataRow dr=dt.NewRow();

.....

dt.Rows.add(dr);

this.ultraGrid1.DataSource = dt;

}