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
The correction for my previous question:
When I am using SetColHidden - it causes the scrollbar problem:
but if I replace it with loop:
for(int i=1; i
AAAlexander ArlievskyDecember 23, 2003 07:17 AM
(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
everything works ok.
I aplogize for two previous messages and hope that the problem is explaned clearer now.
ADAdministrator Syncfusion Team December 23, 2003 08:03 AM
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.