P
PawelR
Hello group,
In my application, I have form with DataGrid. Rows in dataGrid are from
table.
myDG.DataSource = myTable;
In Table I have collumn boolean type.
On Click (Mouse_up event) on the dataGrid I change value in this column
myDG[myDG.CurrentRowIndex,0] = !(bool)myDG[myDG.CurrentRowIndex,0];
and selected cell get focus - value in cell who is clicked.
How disable this focus. I want only change value (checkbox false/true)
without other effects (focus on clicked cell).
Thanks
Pawel R
In my application, I have form with DataGrid. Rows in dataGrid are from
table.
myDG.DataSource = myTable;
In Table I have collumn boolean type.
On Click (Mouse_up event) on the dataGrid I change value in this column
myDG[myDG.CurrentRowIndex,0] = !(bool)myDG[myDG.CurrentRowIndex,0];
and selected cell get focus - value in cell who is clicked.
How disable this focus. I want only change value (checkbox false/true)
without other effects (focus on clicked cell).
Thanks
Pawel R