Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SalesMasterDetailInfoModel salesMasterDetailInfo = new SalesMasterDetailInfoModel();
- SalesEntryCollection.Clear();
- SalesEntryCollection.Add(salesMasterDetailInfo);
- DataGridRow currentRow = dvSalesEntryDataGrid.ItemContainerGenerator.ContainerFromItem(dvSalesEntryDataGrid.CurrentItem) as DataGridRow;
- DataGridCell cell = Helper.Helper.GetCell(dvSalesEntryDataGrid, currentRow, 1);
- if (cell != null)
- {
- dvSalesEntryDataGrid.CurrentCell = new DataGridCellInfo(cell);
- }
Add Comment
Please, Sign In to add comment