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
close icon

VirtualGrid does not refresh scrollbars

Hi, how can I refresh scrollbars in a virtual grid control. I attached the virtual grid sample to this post. I added a checkbox to change the rowcount. Scrollbars are only refreshed when you resize the form. Invalidating the grid does not help. Regards Christian

VirtualGrid2.zip

2 Replies

AD Administrator Syncfusion Team April 19, 2006 10:37 AM UTC

Hi Christian, Try calling the UpdateScrollBars() method in CheckedChanged event.Here is a code snippet. gridControl1.ResetVolatileData(); gridControl1.Invalidate(true); //Invalidate method does not update the scrollbar. gridControl1.UpdateScrollBars(); //For update the Scrollbar Let me know if you need any further assistance. Regards, Haneef


CL Christian Lützenkirchen April 20, 2006 05:59 AM UTC

Hi Haneef, it works fine! Thank you very much! Regards, Christian

Loader.
Live Chat Icon For mobile
Up arrow icon