private void RefreshGrid()
 {
     currentDataGrid.ItemsSource = CurrentTable.ToList();
     CollectionViewSource.GetDefaultView(currentDataGrid.ItemsSource).Refresh();
 }