Fix bug caused by moving column before frozen "Remove" column
This commit is contained in:
parent
664ff6aabd
commit
df5293ce1e
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ namespace LibationWinForms.GridView
|
|||
InitializeComponent();
|
||||
EnableDoubleBuffering();
|
||||
gridEntryDataGridView.Scroll += (_, s) => Scroll?.Invoke(this, s);
|
||||
removeGVColumn.Frozen = false;
|
||||
}
|
||||
|
||||
private void EnableDoubleBuffering()
|
||||
|
|
@ -115,6 +116,9 @@ namespace LibationWinForms.GridView
|
|||
foreach (var book in bindingList.AllItems())
|
||||
book.Remove = RemoveStatus.NotRemoved;
|
||||
}
|
||||
|
||||
removeGVColumn.DisplayIndex = 0;
|
||||
removeGVColumn.Frozen = value;
|
||||
removeGVColumn.Visible = value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue