Hi Mike
,
Query 1
: Loses the edit if I tab out of the cell when editing
You can hold
the cell in edit mode when tabbing out of the cell by using BeginEdit() method . We have prepared the sample based on your
requirement . Please refer the below attached sample .
In this sample , we load the two GridDataControl in to two
different tabs. Please refer the below code snippet ,
Code Snippet:
void grid_PreviewKeyDown(object sender, KeyEventArgs e)
{
this.grid.Model.CurrencyManager.CurrentCell.Activate(this.grid.Model.CurrencyManager.CurrentCell.RowIndex,this.grid.Model.CurrencyManager.CurrentCell.ColumnIndex);
if (e.Key == Key.Tab)
{
this.grid.Model.CurrencyManager.CurrentCell.BeginEdit();
e.Handled = true;
}
}
|
Query 2 :
switching from one tab in to another, the edit is lost
We are not able to replicate the reported query” if the cell in edit mode and switched from one tab in to other tabs, the edit is lost”. Please refer the
attached sample and send reproducible sample along with replication procedure .
Please
let us know if you have any other queries .
Regards,
Akila
Attachment:
GridDataControlsample_TabNavigation_33c127a2.zip