Ver código fonte

Fixed problem with CoreTableGrid

Kenric Nugteren 5 meses atrás
pai
commit
ee4b31362f
1 arquivos alterados com 9 adições e 0 exclusões
  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
 }