فهرست منبع

Fixed problem with CoreTableGrid

Kenric Nugteren 7 ماه پیش
والد
کامیت
ee4b31362f
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      inabox.wpf/DynamicGrid/Grids/CoreTableGrid.cs

+ 9 - 0
inabox.wpf/DynamicGrid/Grids/CoreTableGrid.cs

@@ -239,5 +239,14 @@ public class CoreTableGrid : BaseDynamicGrid
         action(Table, null);
     }
 
+    public override void OnItemSourceChanged(object value)
+    {
+        if(value is CoreTable table)
+        {
+            Table = table;
+            Refresh(true, true);
+        }
+    }
+
     #endregion
 }