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
2170
XamDataGrid doesn't scale when number of fields goes up
posted

Hi,

I've been struggling with feeding xamDataGrid with large amount of fields. Eventually I traced down to this method, Infragistics.Windows.DataPresenter.Internal.TemplateDataRecordCache.InitializeCellInfo().

According to VS2010 performance profiler, this method contains a very expensive operation,

cells.Sort(Utilities.CreateComparer(placeholderComparison));

There are some comment upon this section which I don't really understand.

Could anyone please help to see whether it is possible to prevent hitting this section by using the control in a certain way?

What we're looking for is loading a datagrid with 20000 fields in 5 secs. It's over 20 secs now and this method is on the hot path.

Please help, thanks.