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

DataBoundGrid HScrollBar disappears

Thread ID:





9522 Dec 23,2003 10:12 AM UTC Dec 23,2003 01:03 PM UTC WinForms 3
Tags: GridControl
Alexander Arlievsky
Asked On December 23, 2003 10:12 AM UTC

Hi, I have DataBoundGrid with default HScrollBar style. When first column is hidden the HScrollBar become invisible. ...... bool []bHidden = new bool[grid.Model.ColCount]; for(int i=0; iScrollProblem_8996.zip

Alexander Arlievsky
Replied On December 23, 2003 10:18 AM UTC

Hi, The correction for my previous question: When I am using SetColHidden - it causes the scrollbar problem: grid.SetColHidden(1,grid.Model.ColCount,bHidden); but if I replace it with loop: for(int i=1; i

Alexander Arlievsky
Replied On December 23, 2003 12:17 PM UTC

Hi, (Last try to ask the question correctly - I had technical problems) The sample is attached. The problem is: I have DataBoundGrid that is bounded to DataTable. When I am hiding the column by calling SetColHidden(first, last, bHiddenArray[]) first=1, last=ColCount, bHiddenArray is bool array with true/false for each column, and the first value is true -- the horizontal scrollbar disappears. I also checked that the thing happens only if the first value in bHiddenArray is true. If I am doing the same thing by loop of grid.Model.Cols.Hidden[i]=true everything works ok. I aplogize for two previous messages and hope that the problem is explaned clearer now. Thank you. ScrollProblem_7448.zip

Administrator [Syncfusion]
Replied On December 23, 2003 01:03 PM UTC

Hi Alexander, thanks for the sample. We are aware of this problem but don't have a fix for it yet. What you should do for now is call SetHidden for each column individually. Then it should work. SetHidden for a range of columns is broken. Stefan


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