Howdy,
I've got an UltraWinGrid with ScrollBars = Automatic, ScrollBounds = ScrollToFill, and ScrollStyle = Immediate.
My issue is at what width the horizontal scroll bar (becoming visible) is triggered. As I shrink the container that holds my grid, the horizontal scroll bar shows up well after the rightmost column header becomes truncated (hidden from view). Once the scroll bar appears, however, it allows me to scroll all the way to the right and see the entire last column.
But until I get to the 'magic spot' that causes the scroll bar to become visible, that last column is partially hidden from view with no scrollbars visible and thus, no way to read the entire column header.
Is there a way I can fix this so that the horizontal scroll bar appears exactly as soon as the last column header begins being truncated?
Let me know if there is more info that I can provide.
Thank you!
Hi,
This sounds like a know bug that was fixed a while ago. What version of the grid are you using? Do you have the latest service release? How to get the latest service release - Infragistics Community
Thanks for replying,
The version of UltraGrid that I am using is: 9.1.20091.1000. If I'm understanding right, it looks like the latest release is 9.2.20092.1007.
I'll talk to my team about upgrading. Thanks for your time!
Could you post some more information, like the call stack or the exact error message?
My guess is that your project references are incorrect or something did not install properly.
Hi Mike,
i m definitily having the latest service release.
but i m facing the same problem.
i cannot set ScrollBounds = ScrollBounds.ScrollToFill for horizontal scrolling.
Horizontal bar allways behaves like : ScrollToLastItem.
did i miss something ? is there a known bug ?
regards
ScrollBounds only affects vertical scrolling, not horizontal. There is no equivalent property for horizontal scrolling. You should Submit a feature request to Infragistics.
hi,
thanks for the fast but sad response.
request has ben sent. ; (
actually i have two more questions:
1. i find this a quite obvious functionality. what do think about this ?
2. is it worth waiting for the feature since i need this fix in about a month.
or shall i implement manual scroll calulation?
thanks again and a good day to you
prime said:1. i find this a quite obvious functionality. what do think about this ?
Well, as far as I can recall, I have never heard anyone request this before you.
prime said: 2. is it worth waiting for the feature since i need this fix in about a month. or shall i implement manual scroll calulation?
Features are added to the control in large part based on the number of requests from customers. So I cannot make any predictions about when, or if, this feature will ever be implemented. I do not see any way this could possibly happen within the next month. So if you need this functionality, I would try to to implement it yourself.
You might want to consider using the AutoFitStyle property and thus turning off horizontal scrolling altogether.
In the screen shot you have here, no horizontal scrolling is possible because the columns all fit within the available width of the grid. The scrollbar applies to the columns, not the contents of the columns.
It looks to me like you have AutoFitStyle turned on, so that the columns are automatically sized to fit the available width. So if you want a horizontal scrollbar, you would have to turn this off and adjust the width of each column so that it fits the contents. You could do this using the PerformAutoSize method on the column.
I have the exact same problem on 11.2.
Even after the column data has begun truncating, no horizontal scrollbar appears. See attached.
thanks for answering