hi,
I have a WinGrid in my app and an UltraGridRowEditTemplate which works fine if I only assign a DataTable to the grid DataSource once. If I do myGrid.DataSource = myDataTable more than once, the RowEditTemplate will not open.
please help
thanks in advance
A guess is that by reassigning the datasource to a different source, you're blowing away the properties on the layout (though if it's the same source not sure what's causing it). You could try handling the InitializeLayout event of the grid and set the template in there, i.e.
e.Layout.Bands[0].RowEditTemplate = this.ultraGridRowEditTemplate1;
-Matt
It's working now.
Thanks !!