RadGridView to CSV export

2 posts, 0 answers
  1. Inderpal
    Inderpal avatar
    6 posts
    Member since:
    Jun 2014

    Posted 02 Jul 2014 Link to this post

    When exporting data to CSV the column is not displaying full data .......................
    how wide the column is...user has to increase the height of the
    row to get this to display.  Most users overlook this and believe that the data
    is missing from the Export file.

    Code ----

     _exportManager.Export(gvDATA, exportFormat, new string[] { "----" }, null, true);

    exportFormat == ExportFormat.Csv

    Please suggest solution for this problem?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 03 Jul 2014 Link to this post

    Hi,

    Do you mean the width of the cell or the height of the row?

    Generally, this will be the result if the columns are not into view as you export the data.
    RadGridView exports the respective header cells with the minimum width value (which is 20 by default) if they have not been measured by the layout mechanism at the time the exporting operation takes place. To get all the columns exported with their actual width, you should first assure that they have all been realized.

    You can also refer to the Export FAQ article for more details.

    Regards,
    Didie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top