This is a migrated thread and some comments may be shown as answers.

kendo-excelexport-column template

1 Answer 97 Views
Excel Export
This is a migrated thread and some comments may be shown as answers.
alex
Top achievements
Rank 1
Iron
Veteran
alex asked on 02 Mar 2021, 01:46 PM

how do i apply a template to a grid cell when i export it to excel?

 

something like this:

<kendo-grid-excel  [fetchData]="allData">
    <ng-container *ngFor="let item of array">
        <kendo-excelexport-column [field]="item.field">
            <ng-template let-value="value">
                <span>EXAMPLE: {{value}}</span>
            </ng-template>
        </kendo-excelexport-column>
    </ng-container>
</kendo-grid-excel>

regards,

alex

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 04 Mar 2021, 01:22 PM

Hello Alex,

It seems that a similar question has been already answered here:

https://www.telerik.com/forums/kendo-excelexport-column-template

I do believe that the demo we've sent you there satisfies both versions of the question, but I just want to  make sure I am not missing something.

If it's indeed the same question, we will go ahead and close this issue.

Looking forward to your reply.

Regards,
Georgi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Excel Export
Asked by
alex
Top achievements
Rank 1
Iron
Veteran
Answers by
Georgi
Telerik team
Share this question
or