I have a flexgrid that is bound to a datasource ( a simple DataTable ). Its being used in a real time logging system so new rows are being added at around 100ms. I would like the users to be able to move the columns around at will as well as resize the columns at will.
The users can start and stop logging as well as clear the contents of the datasource. The problem is with this 'clearing' feature. Whenever the datatable is cleared, the flexgrid resets all the widths to to Default (-1) and relocates the columns to their original ordinals ( being in the order of the datatable columns ).
My question is this. Can the flexgrid remember its own ordinals and widths as set by the user, irrelevant of the datatable? Setting the AutoSize property to false does not fix it either. The DataTable by design, has no reference to a width field.