简体   繁体   中英

Kendo grid export to excel -Right to left support

I am using Kendo grid for Angular js and export the content to excel using client side export feature provided by Kendo .

I want the same feature to be supporting RTL . While exporting to excel , i achieved the same using below code

sheet.rows.cells.reverse(); sheet.rows.cells.hAlign = "right";

But here ,Even if the content was changing and reverse it's direction ,Coulmn numbers and column identifiers like A,B,C are still staring from Left.

Any body ,please give a suggestion if you have faced such an issue earlier.

Regards Subin

You have to import the RTL pack using below code . This pack will do the rest of reversing of content and headers for you.

import { RTL } from '@progress/kendo-angular-l10n';

Please read below article for more

https://www.telerik.com/kendo-angular-ui/components/excelexport/globalization/#toc-right-to-left-support

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM