Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Adding Vertical and Horizontal ScrollBar to a XamDataGrid
posted

I have a XamDataGrid whose width and height adjust automatically according to the filled information. However, the XamDataGrid itself is part of a fixed sized grid. In some cases, the last column or row are being cut out. So I need for the XamDataGrid to have both horizontal and vertical scroll bars that appear automatically if needed. I also need the same functionality for the XamGrid. Can someone please help me?

 

  • 1560
    Offline posted

    Hello,

    I have been looking into your question and created a small sample with XamDataGrid and XamGrid positioned in Grid trying to reproduce the described behavior. On my side, everything seems to work as expected and the scrollbars are shown automatically on both controls.

    Attached you will find my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated please feel free to provide your own small isolated sample. Remove any external dependencies and code that is not directly related to the issue, zip your application, and attach it in this case.

    Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.

    Thank you for your cooperation.

    Looking forward to hearing from you.

    Sincerely,

    Teodosia Hristodorova

    Associate Software Developer

    8103.XDG_scrollBars.zip