We're seeing a bug in one of our programs that uses the XamDataGrid with auto re-sizing columns.
The horizontal scroll bar is hidden by default, becoming visible when the width of the columns exceeds the width of the window. One of our columns usually contains nothing, but sometimes contains a long string of text. As soon as one of those rows appears on the grid, the width of that column increases and the horizontal scroll bar appears. If that row then gets covered by the scroll bar, either by scrolling or by new rows being appended to the top of the grid, the PerformAutoSize shrinks that column... so the horizontal scroll bar disappears. Then the row is back in view, the column expands, and the horizontal scroll bar appears and covers the row up again.
Has anyone seen this behavior before? If so, was any solution suggested? Thanks.
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Looks like we're all set. I did have to make one modification to the sample template you provided - the horizontal scrollbar needed to have the attributes Grid.Column="0" and Grid.Row="1", otherwise there was no square in the corner to separate the scrollbars. Other than that, it did the trick. Thanks a bunch.
Hello John,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
I haven't been able to return to this issue yet, but hope to do so soon. I will verify your answer if it solves the issue for us. Thanks.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.