When using the GridExcelBuilder to add a new cell (and row) to a worksheet when exporting from the RadGrid, is there a way to specify the width of the cell as in the pseudo-code below?
| protected void Grid_ExcelMLExportRowCreated ( object source, Telerik.Web.UI.GridExcelBuilder.GridExportExcelMLRowCreatedArgs e ) |
| { |
| if ( e.RowType == GridExportExcelMLRowType.HeaderRow ) |
| { |
| RowElement myNewRow = new RowElement(); |
| CellElement myNewCell = new CellElement(); |
| myNewCell.StyleValue = "myNewStyle"; |
| myNewCell.MergeAcross = e.Row.Cells.Count - 1; |
| //is there something like the property below? |
| myNewCell.Width = 200; |
| //etc... |
| } |
| } |
Thanks,
Keith