Hello,
I need to format some cell in export excell with kendo mvc grid. I use the export in this way :
.Index.cshtml :
.ToolBar(tools => tools.Excel())
.Excel(excel => excel
.FileName("Export.xlsx")
.ForceProxy(true)
.Filterable(true)
.AllPages(true)
.ProxyURL(Url.Action("ExcelSave", "CieAssistant"))
)
Controller :
public ActionResult ExcelSave(string contentType, string base64, string fileName)
{
var fileContents = Convert.FromBase64String(base64);
return File(fileContents, contentType, fileName);
}
How i can update format of cell in the controller function "ExcelSave" ?!
Thanks,