소스 검색

Fixed problem with CoreTableGrid

Kenric Nugteren 5 달 전
부모
커밋
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
 }