Kenric Nugteren 8 месяцев назад
Родитель
Сommit
e4394afc54
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      inabox.wpf/DynamicGrid/UIComponent/DynamicGridGridUIComponent.cs

+ 3 - 0
inabox.wpf/DynamicGrid/UIComponent/DynamicGridGridUIComponent.cs

@@ -1352,6 +1352,9 @@ public class DynamicGridGridUIComponent<T> : IDynamicGridUIComponent<T>, IDynami
 
 
         if(groupings.Count > 0)
         if(groupings.Count > 0)
         {
         {
+            // THis here is to fix a problem with Syncfusion when we have stackedHeaderRows; the above setting of the ItemsSource to null
+            // was causing the resetting of it to fail when reloading, due to some internal OutOfRange Exception. THe use case was selecting columns on the
+            // Stock Forecast grid.
             RefreshData(new CoreTable());
             RefreshData(new CoreTable());
         }
         }
     }
     }