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
235
FieldLayout switching. Performance issue
posted

Hi,

I have a troubles with switching of field layouts. I want to have a grid where columns can be changed, so I call the method that recreate field layout if set of columns were changed. I have found that it takes about 1-2 seconds to do all this work. It seems to me that Infragistics.Windows.Controls.IGControlBase.ArrangeOverride(Size)

Infragistics.Windows.DataPresenter.GridViewPanelFlat.MeasureOverride(Size)

Infragistics.Windows.DataPresenter.DataPresenterBase.OnLayoutUpdated(Object, EventArgs)

methods are working too long. Could you give me an advise what i am doing in a wrong way?

You can find an example of solution in attached file.

DataGridPerformanceTest.zip