简体   繁体   中英

Kendo Grid Export To Excel With Border

Currently kendo grid can easily export it's data to excel but doesn't show border among the columns at all. How can I format the excel worksheets so that the data will be in full border? Are there any setting related to worksheet customization in order to achieved that? Thanks

You can view some examples by kendo in the link below:

http://demos.telerik.com/kendo-ui/grid/excel-export#

You can edit a few things about the data rendering such as right to left allignement but you can't customize the style of the worksheet.

From the kendo grid documentation about customization of the Excel exported from the kendo grid and it's limitations:

Limitations

Column Templates

The Grid does not use column templates during the Excel export— it exports only the data . The reason for this behavior is that a column template might contain arbitrary HTML which cannot be converted to Excel column values. For more information on how to use a column template that does not contain HTML, refer to this column template example.

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