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
1965
Grid.DisplayLayout.ResetBands() Makes App slow
posted

Hi,

 We are binding a XML Dataset, having one data table, to the UltrawinGrid. While doing so we are using Grid.DisplayLayout.ResetBands(); command in order to arrange the columns in the default positions incase the user has moved them manually. But this ResetBands is making the app work very slow. I have no child bands.

Tried with DisplayLayout.Reset but the field chooser is not seen once the grid loads again.

Appreciate any help on bringing the columns to the default positions and also have the field chooser.

 

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I'm not sure I understand your question. When are you calling ResetBands? And when is the grid slow?

    ResetBands just resets the properties on the bands to their defaults. This should not take very long and it certainly should not have any lasting effects that would slow down the grid after it's done. Unless maybe there are some properties you have set that are improving performance in the first place, like CellDisplayStyle on the column, and it's getting reset.

Children