Guest User

Untitled

a guest
Dec 10th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. SalesMasterDetailInfoModel salesMasterDetailInfo = new SalesMasterDetailInfoModel();
  2. SalesEntryCollection.Clear();
  3. SalesEntryCollection.Add(salesMasterDetailInfo);
  4.  
  5. DataGridRow currentRow = dvSalesEntryDataGrid.ItemContainerGenerator.ContainerFromItem(dvSalesEntryDataGrid.CurrentItem) as DataGridRow;
  6.  
  7. DataGridCell cell = Helper.Helper.GetCell(dvSalesEntryDataGrid, currentRow, 1);
  8. if (cell != null)
  9. {
  10. dvSalesEntryDataGrid.CurrentCell = new DataGridCellInfo(cell);
  11. }
Add Comment
Please, Sign In to add comment