JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Fit to a page when exporting and printing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101104
    admin
    Keymaster

    Hi!
    Is it possible for all the columns of the table to fit in one page only when exporting to PDF and printing while next page only if the row does not fit?

    1. In your example here it does not fit to one page when exporting to PDF and the total column is not properly displayed:
      https://www.htmlelements.com/angular/demos/grid/data-export/

    2) In your example here why is it that the Total column does not have blue background ?
    https://www.htmlelements.com/angular/demos/grid/print/
     
    Thanks!
     
     

    #101108
    admin
    Keymaster

    Hi dcjuan00001,
    1. Thank you for your feedback. There is indeed currently an issue with the export to PDF at certain widths of Smart.Grid. We will try to fix it as soon as possible. The expected behavior can be seen if you open the same demo in a separate window: https://www.htmlelements.com/demos/grid/data-export/index.htm:
    – Exported column widths correspond to the current column widths of the Grid;
    – If there is not enough space on the page for all columns, they are displayed on separate pages. This is also the way exporting to PDF works in Microsoft Excel.
    2. In Chrome, to enable printing of colored background, you would have to click “More settings” in the Print dialog and then check “Background graphics”.
    Best regards,
    Dimitar
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.