Search code examples
performanceinfragisticsxamdatagrid

Infragistics XamDataGrid LoadCustomizations issue


I discovered very interested issue with XamDataGrid LoadCustomizations method. At start program I initialize XamDataGrid object, bind it to datasource, call LoadCustomizations(), put it into new TabItem control and add TabItem to TabControl.

The problem is very slow perfomance after that. If I will call LoadCustomizations method later (by user click at some button) XamDataGrid perfomance is good. How can I resolve this problem and why LoadCustomizations at first case makes it work bad?

I try to find some binding warnings/errors, but here is no errors/warning.

Thanks for answers and sorry for my bad english.


Solution

  • I found issue in another piece of my code where I try get LabelPresenter of my grid (but when datasource is empty xamdatagrid doesn't show any column label). I add IF condition where I check datasource count property. It works good.