RadGridView Vertical Scrolbar Thumb position, length and display data

1 posts, 0 answers
  1. Naresh
    Naresh avatar
    3 posts
    Member since:
    Apr 2016

    Posted 12 Apr Link to this post

    Hi All,

    i am using the radgridview control, added the custom filters to it successfully and all the default styles are working great. i have a requirement of infinite scrollbar and display row number on thumb. so i implemented the Data Virtualization but that did not match my requirement, in this the VirtualItemCount has to be set initially(when i tried to set it dynamically all rows data is empty no data is visible in the grid) more over the VirtualQueryableCollectionView maintains its own collection and its like a copy which i don't want. so with the MVVM pattern via observablecollection iam populating the data into the grid and this collection has constant size. now while scrolling when i reach to end of the scroll in the scrollchanged event iam replacing the collection with new data. all this is working but w.r.t this i also need to change the scrollbar's thumb as like inifinite scroll. i had written code to adjust the scrollbar thumb position, length nothing is working. Another issue is like displaying the record number on the thumb i had added the xaml code in style but when i apply the style the gridview is gone, it is not displayed. not sure what is the correct way of displaying the data on the thumb without losing the all default radgridview style.

    Anyone please guide me.

Back to Top