Hello,
I try to clear the rows of my UltraWinGrid control without lose the design (column headers, column sizes, ...), but I don't find the correct property.
I've already tried grid.Datasource = null; but this delete the design too...
Could you help me please ?
If you clear the rows, your data source items will be deleted too, so in order to clear the grid rows, delete the data source items.
If you don't want to do that, Use a bindingsource and set the object type as a data source:
binding:
BindngSource bs = new BindingSource();
bs.DataSource = MyList;
grid.DataSource = bs;
Deleting rows:
bs.DataSource = typeof(MyDataItem);
Thank you for your help ^^