Line height in Excel export

2 posts, 0 answers
  1. Jean-Luc
    Jean-Luc avatar
    1 posts
    Member since:
    May 2017

    Posted 10 Jul Link to this post

    Hi,

    We use the Excel export feature of your component.

    In the export I have few cells that contains multi-line text.

    In the exported file, the line height is set to the default value.

    Is it possible to set the line height to some kind of "auto" to fit the content and expand if necessary ?

    Best regards

    Emmanuel

  2. Stefan
    Admin
    Stefan avatar
    1147 posts

    Posted 12 Jul Link to this post

    Hello Emmanuel,

    The height of the rows can be modified on the excelExport event of the Grid by setting the height property of the row to the desired value:

    http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-excelExport

    http://docs.telerik.com/kendo-ui/api/javascript/ooxml/workbook#configuration-sheets.rows.height

    http://dojo.telerik.com/otuNe

    The width of the columns can also be modified:

    http://docs.telerik.com/kendo-ui/framework/excel/column-width#column-width

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top