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
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
Hi Radko,
Thanks for your response. this issue was bit difficult to explain. in your sample if a group had multiple resords(in xamdatagrid) then scrollbar of Listview was not working until entire group changes. however if I changed settings of scrollbar to make CanContentScroll to False it make it worked. even with large XAMDataGrid recoeds it's working fine. Thanks for helping as it was bit difficult to understand this issue.
hitesh