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.
Unfortunately, activation email could not send to your email. Please try again.

Sizing visible cells after scroll

Thread ID:





103314 Apr 20,2012 11:52 AM Apr 26,2012 12:39 AM ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Adam Bruss
Asked On April 20, 2012 11:52 AM

We have a virtual grid control with many rows and columns. The rows and columns have to be resized to fit. The resize operation takes a long time so I'd like to only resize the viewable part of the grid control.

This line works for a one time resizing:


When the user scrolls the grid control to somewhere new, the new cells are not resized.

I've handled the HScrollBar->Scroll event. If e->Type is endscroll then I do gv->ViewLayout->VisibleCellsRange. But the new cells are not resized. It's as if the new cells are not visible yet at the time of the Scroll event.

How can I properly resize newly visible cells after a scroll event?

Rajasekar [Syncfusion]
Replied On April 26, 2012 12:39 AM

HI Adam,

Thanks for your update. Could you please let me know which grid you are using eighther WPF Grid/ WF Grid/ Silverlight Grid/ ASP.Net Grid/MVC Grid?

Please let us know if you have any queries.



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.

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.