Skip to content

Commit

Permalink
I fixed the DataEditorControl to not show the CreateBindingCallbackCo…
Browse files Browse the repository at this point in the history
…ntrol if the Table is a view.
  • Loading branch information
DataJuggler committed Jul 18, 2022
1 parent ac5a9e9 commit 504f7cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DataTier.Net/Client/Controls/DataEditorControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,13 @@ public void UIEnable()
// if there is a SelectedTable
if ((this.HasSelectedTable) && (!this.SelectedTable.Exclude))
{
// if this Table is a View
if (SelectedTable.IsView)
{
// do not show the checkbox for views
showCreateBindingCallbackControl = false;
}

// Display the Name
this.SelectedTableTextBox.Text = this.SelectedTable.TableName;

Expand Down

0 comments on commit 504f7cc

Please sign in to comment.