add frozen for excel format
This commit is contained in:
@@ -57,13 +57,14 @@ namespace CarParkValidationAPI.Repository
|
|||||||
sl.SetCellValue(row, col++, "Date");
|
sl.SetCellValue(row, col++, "Date");
|
||||||
sl.SetCellValue(row, col++, "Concession Card");
|
sl.SetCellValue(row, col++, "Concession Card");
|
||||||
sl.SetCellValue(row, col++, "Concession Holder");
|
sl.SetCellValue(row, col++, "Concession Holder");
|
||||||
sl.SetCellValue(row, col++, "Is Concession Expiry");
|
sl.SetCellValue(row, col++, "Expiry date checked");
|
||||||
sl.SetCellValue(row, col++, "ConcessionType");
|
sl.SetCellValue(row, col++, "ConcessionType");
|
||||||
sl.SetCellValue(row, col++, "Validation Piont");
|
sl.SetCellValue(row, col++, "Validation Piont");
|
||||||
sl.SetCellValue(row, col++, "StaffLink No");
|
sl.SetCellValue(row, col++, "StaffLink No");
|
||||||
sl.SetCellValue(row, col++, "Staff first name");
|
sl.SetCellValue(row, col++, "Staff first name");
|
||||||
sl.SetCellValue(row, col++, "Staff last name");
|
sl.SetCellValue(row, col++, "Staff last name");
|
||||||
sl.SetCellValue(row, col++, "Staff Email");
|
sl.SetCellValue(row, col++, "Staff Email");
|
||||||
|
sl.FreezePanes(row, col - 1); //frozen the row.
|
||||||
//wrap text on is concession Expiry
|
//wrap text on is concession Expiry
|
||||||
style = sl.CreateStyle();
|
style = sl.CreateStyle();
|
||||||
style.SetWrapText(true);
|
style.SetWrapText(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user