Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Column Width being changes when the datasource is refreshed
posted

Hello,

I have a grid where I set the column width in the InitializeLayout event. When I first bind a DataSet to the DataSource property the columns display with the correct width. However, if I rebind the DataSet the columns becomes smalle. Any subsequent bindings does not change the column width. Any explanations?

Parents
No Data
Reply
  • 469350
    Offline posted

    What exactly do you mean by "rebind the DataSet". It sounds to me like whatever youare doing it causing the data source to send a Reset notification to the grid, which means the grid has to throw away all existing columns and rows and re-load everything from scratch. 

Children