Kenric Nugteren преди 9 месеца
родител
ревизия
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)
         {
+            // 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());
         }
     }