We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to change header when i export excel by schedule ?? (Angular)

I have one issue , i want to custom header name in file excel . How to do ???

5 Replies

NR Nevitha Ravi Syncfusion Team April 26, 2019 12:41 PM UTC

Hi Tran, 

Greetings from Syncfusion Support. 

We can have custom header by mapping the field name within eventSettings and for the same we have prepared a sample which can be downloaded from the following link. 

public eventSettings: EventSettingsModel = { 
        dataSource: this.generateEvents(), 
        fields: { 
            subject: { title: 'Travel Summary', name: 'Title' }, 
            location: { title: 'Source', name: 'Place' }, 
            description: { title: 'Comments', name: 'Summary' }, 
            startTime: { title: 'Departure Time', name: 'From' }, 
            endTime: { title: 'Arrival Time', name: 'To' } 

Please check the sample and let us know if you need any further assistance. 


TT Tran Thanh Tung April 27, 2019 02:48 AM UTC

Awsome , Tks for reply me .

But i have issue different , properties of server side don't mapping within properties of client side . 

I want custom header at excel like export excel Grid .

Can I custom header name like ExportExcel Grid ??? I tried apply for schedule but project not working .