Hi,
I set DataTable as DataSource to UltraGrid. I add new columns and rows into DataTable, After that I set this DataTable as DataSource to UltraGrid again. InitializeLayout was not fired. I need to fire InitializeLayout in this case. How I make It?
Thanks.
I had the same problem I think and found this post. In case this happens to help somebody else out, I was setting the UltraGrid Datasource directly to a DataSet. Once I changed this to bind with a BindingSource, InitializeLayout then started firing:
VB.Net:
.DataSource = Nothing.DataSource = New BindingSource(myDataset, String.Empty)