Print screen RadGridView with Data hidden behind horizontal scrollbar

1 Answer 44 Views
GridView
Premkumar
Top achievements
Rank 1
Iron
Iron
Premkumar asked on 25 Jul 2023, 06:16 AM

Hi Telerik,

I know there is a way to print the Gantt View with data hidden behind the horizontal scrollbar, which I have worked 5 years ago.

But I'm not sure that can be done in RadGridView.

I mean I'm having 10 columns in RadGridView, in which 2 columns are scrolled inside horizontal scroll bar.

I want to print the rows in the visible area with all the 10 columns. Please help me if there is any way to achieve this.

 

Thanks and Regards,

Muhammad Azhar Shah

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 27 Jul 2023, 10:29 AM

Hello Premkumar,

To achieve your requirement, you can consider using the built-in export features of RadGridView. 

If this doesn't work and you need to export the RadGridView to an image similar to RadGanttView, then you will need to make sure that all cells in the RadGridView are displayed without any scrollbars before taking the picture. To do this, you will need to provide enough Width and Height for the GridView. Then measure and arrange it. To take the picture, you can use the ExportToImage static method.

I hope that helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView
Asked by
Premkumar
Top achievements
Rank 1
Iron
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or