I can not find a solution to the following problem :
There are two tabs with tables. How to make so that the selected width of columns of the table does not change to the default value after switching tabs, but remains the same as it was configured by the user? Devexpress always resets everything to the initial state after switching between tabs.

  • and what if you set the width of the columns of the table with handles, and you would clarify that you have asp.net / asp.net-mvc / winforms / wpf - Bald
  • So the fact of the matter is that the user wants to customize the columns for themselves and so that they do not change during the work. If I tune with my hands, they will either be fixed, or reset each time to a certain initial state. wpf as I understand it. - Daniel
  • Well, then somewhere you have to save the values ​​changed by the user, and use them to set the width of the columns - Bald

3 answers 3

Could solve the problem. On all GridControl there were Loaded events, in which the optimal width of the BestFitColumns () columns was set each time. Replaced with event Initialized.

    to save / restore user settings when necessary, I use the serialization System.Xml.Serialization.XmlSerializer

    • Try to write more detailed answers. Explain what is the basis of your statement? - Nicolas Chabanovsky