I am currently working in an export to Excel of a hierarchical grid using EPPlus
. So all child rows should be displayed with padding (space). As shown below:
As shown in the above, you can see I have added four spaces before Software, QA, Analyst, etc.
I have used the below code to add space:
worksheet.cells[1, 1].value = " Software";
But this doesn't seem to be the proper way to me. I have tried with \t
, but that doesn't work.
Is there a better approach I can use here?