Browse Source

Added comment

Kenric Nugteren 7 months ago
parent
commit
e4394afc54
1 changed files with 3 additions and 0 deletions
  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());
         }
     }