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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sizing visible cells after scroll

Thread ID:

Created:

Updated:

Platform:

Replies:

103314 Apr 20,2012 03:52 PM UTC Apr 26,2012 04:39 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Adam Bruss
Asked On April 20, 2012 03:52 PM UTC

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:

gv->ColWidths->ResizeToFit(gv->ViewLayout->VisibleCellsRange);

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 04:39 AM UTC

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.

Thanks,
Rajasekar



CONFIRMATION

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.

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

;