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,
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
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?
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.
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 ?
thanks again and a good day to you