瀏覽代碼

Added comment

Kenric Nugteren 8 月之前
父節點
當前提交
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());
         }
     }