What exactly is Scroll Offset and how is this computed?
Assume XamDataGrid.ScrollBehaviorOnListChange = ScrollBehaviorOnListChange.PreserveScrollOffset
If I scrolled to the first record in my grid (topmost record) and the underlying collection is completely refreshed (items cleared and a new set with more records re-added) should the grid not scroll to the top most record to maintain scroll offset?
Also, should this behavior be consistent regardless of the net effect of the underlying changes: In otherwords should I observe something differet when I Clear and AddRange as apposed to simply appending to the collection via AddRange?
TIA.
Hello,
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.
I am looking forward to hear from you.
Stephan, issue is still outstanding, atleast in my application.
I have not been able to duplicate using a simple sample but there is another thread http://community.infragistics.com/forums/t/64381.aspx I opened that needs to be solved before I can come back to this. I ran into the latter issue when investigating this one.
Thank you for your post. I have been looking into it but I wasn’t able to reproduce your behavior, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you. Also it would be greate if you are more specific on the visual results you are expecting.
Looking forward for your reply.