private void btnExport_Click(object sender, RoutedEventArgs e) { //identify cells to be merged var row = excelTable.Rows[0]; var columns = excelTable.Columns; String mergeCells = getMergeCells(row, columns); reportGrid1.Export("Roopesh", "Gama", mergeCells, 2); }
private void btnDownload_Click(object sender, RoutedEventArgs e) { myPopup.IsOpen = false; reportGrid.Export("Nithesh", "Gama", "", 1, "Report No " + reportNumberToDownload); }