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
415
Regarding Scrollviewer not scrolling data using mouse for large xamgrid data
posted

Hi,

we are using ListView and inside ITemTemplate of using we are using XAMDataGrid. where there are multiple collection of XAMDataGrid inside Listview scrollviewer shows up and working fine. but When one XAMDataGrid has large records say around 50 the scrollviewer does not scrolldown the data and only scrolls when enire 1 xamgrid move down to show another XAMGrid inside Listview. we have seen this kind of bahaviour where sometimes we can not scroll a large table and entire table moves down then next one shows. is it possible to fix this scrollviewer behavior for large data in one XAMDataGrid .

Regards

Hitesh

Parents
  • 2151
    Verified Answer
    Offline posted

    Hello Hitesh,

     

    Thank you for your post. If I understand correctly you are having a ListView with an ItemTemplate containing xamDataGrid. Please note that by default the ListView scrolls one item at a time. I am not sure I understand what is the connection between the xamDataGrid items and the scrolling issue you are having. To configure the ListView to scroll its items smoothly you can do the following:

     

    <ListView ScrollViewer.CanContentScroll="False">

     

    Please keep in mind that this will decrease scrolling performance, because the ListView will not have virtualization in this mode. I am also attaching a sample application which demonstrating the smooth scrolling behavior of the ListView. Please feel free to modify the application if there are still issue you want to show me.

     

    Please do not hesitate to let me know if you have any further questions on this matter.

     

    Sincerely,

    Radko Kolev

    Infragistics Inc.

    www.infragistics.com/support

    ListViewSmoothScrolling.zip
Reply Children