Custom Printing Hierarchical Grid

3 posts, 1 answers
  1. Greg
    Greg avatar
    2 posts
    Member since:
    Oct 2014

    Posted 17 Aug 2015 Link to this post

    Hi,

    I would like to be able to customize the printing of a hierarchical GridView.

    1) The only selected rows are to be included

    2) Only two columns are required in the output

     What is the best way to achieve this?

     

  2. Answer
    Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 18 Aug 2015 Link to this post

    Hi Greg,

    Thank you for writing. 

    Printing only a selection of rows in RadGridView is currently not supported. Moreover, when there is hierarchical data with multiple rows selected at different levels it is not clear how you would like them to be displayed when printed.

    You could, however, use the existing API and specify which views be printed. Detailed information is available in the following documentation article: Printing Hierarchical Grid.

    As to your second question, I think that the best solution would be to hide the columns which you do not need and show them after the grid has been printed.

    I hope this information helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Greg
    Greg avatar
    2 posts
    Member since:
    Oct 2014

    Posted 19 Aug 2015 in reply to Hristo Link to this post

    I went with passing the selected rows to a pop up with a hidden non hierarchical grid with only the columns I required to be printed.

    The RadGridView print options are very good when its simple.

     Thanks

     

Back to Top