Correct me if I am wrong.
1) C1FlexGrid columns set in designer.
2) AutoGenerateColumns set to false.
3) SetDataBinding(datatable,"",true) and data appears fine correctly formatted.
4) Remove the binding either by setting datasource to nothing or setdatabinding(nothing,"",true) removes the data but leaves the rows being displayed (does not delete the rows) and the column headers disappear.
Surely the point of AutoGenerateColumns is that the column design remains intact regardless of what happens to the datasource. Reading threads here this looks like it has been a problem for past 10 years. I am not a great fan of FlexGrid much preferring TrueGrid so I may have it totally wrong.
Version 4.6.20132.783 applies.
Is there a solution?
Thanks – John