Code -
@Html.Kendo().Grid(ViewBag.FSTableData as System.Data.DataTable).Name("RevGrid").Pageable().Sortable().Filterable().ToolBar(tools => tools.Excel()).Excel(excel => excel.FileName(@ViewBag.TableNameCleanExcel).AllPages(true)).DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(false)
.PageSize(20)
.ServerOperation(false)
)
Hi there ,
I was woundering if it is possible to add an ID to the Export To Excel button . What I need to do to if fire the button as soon as the pages loads . The grid we create are very dynamic and some user would just need the SpreadSheet downloaded .
Julian