Search code examples
c#asp.net-mvcdevextremedevexpress-mvc

Add Title to Devextreme Data Grid for Excel Export


I am using Devextreme js components. I am loading data to Devextreme data grid component and I want to add a title to show in data grid. Because when data grid are exported, I want it to show title in excel file. I searched but I could not a property or function in js devextreme of datagrid. I wonder is there way to add title for exported excel file.


Solution

  • dxDataGrid does not support tittles at the moment, but they recommend you to add tittles via Html/CSS, however that way it does not get exported to excel. On the other hand these controls keep evolving, so you can look in the next release and see.