Hi
Juraj,
Thanks
for contacting Syncfusion support,
We
have analyzed your query. We are able to achieve your requirement by using
SelectionChanged event. Please refer the below code snippet.
Code snippet[C#]:
this.dataGrid.SelectionChanged
+= dataGrid_SelectionChanged;
void dataGrid_SelectionChanged(object sender, GridSelectionChangedEventArgs e)
{
.
.
if (!this.dataGrid.IsInDetailsViewIndex(this.dataGrid.SelectionController.CurrentCellManager.CurrentRowColumnIndex.RowIndex))
{
RowColumnIndex rowcol = new RowColumnIndex(this.dataGrid.SelectionController.CurrentCellManager.CurrentRowColumnIndex.RowIndex,
1);
this.dataGrid.MoveCurrentCell(rowcol,
true);
this.dataGrid.SelectionController.CurrentCellManager.BeginEdit();
}
.
.
}
|
We
have prepared a sample based on this and you can download it from below attachment.
Please
let us know if you have any queries,
Regards,
Saravanan.M
Attachment:
DetailsView_With_EditFirstCell_32ff643d.zip