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