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.

DataBoundGrid HScrollBar disappears

Thread ID:

Created:

Updated:

Platform:

Replies:

9522 Dec 23,2003 05:12 AM Dec 23,2003 08:03 AM Windows Forms 3
loading
Tags: GridControl
Alexander Arlievsky
Asked On December 23, 2003 05:12 AM

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 05:18 AM

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 07:17 AM

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 08:03 AM

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

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.

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.

;