We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Screenshoting Entire Data Grid

Thread ID:





145440 Jun 21,2019 07:17 PM UTC Jun 24,2019 01:51 PM UTC WPF 1
Tags: SfDataGrid
Nick Beule
Asked On June 21, 2019 07:17 PM UTC

Hi I have an SfDataGrid with Columns that extend far enough that I need a R/L scroll bar. I'm trying to screenshot the entire grid past the right hand side limit but I keep getting: 

  (the first part isn't cut off it's just like that) 

I have a custom screen capture method (I'm not married to it if there's a better way) that takes a visual container as an argument. This is a problem, because I know I probably have to set the target of the screen-shot to the Columns property which unfortunately is not a visual container. The underlying row structure is custom and also not a visual container for reference. Any help is appreciated thanks!

Shobika Palani [Syncfusion]
Replied On June 24, 2019 01:51 PM UTC

Hi Nick, 

Thank you for contacting Syncfusion Support. 

We have analyzed your query to take screenshot of whole grid. We recommend you to set SfDataGrid.ColumnSizer as Star to capture the screenshot of whole grid. Since, we can capture only the content in the view area. Also, if you want to capture the entire grid, please revert us with code files realted to capture the portion of the grid that is not noticeable in the scrollable region. It will helps us to investigate further and provide appropriate solution at earlier. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon