This is a migrated thread and some comments may be shown as answers.

Pinning rows when using VirtualQueryableCollectionView

2 Answers 128 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dennis Tycho
Top achievements
Rank 1
Dennis Tycho asked on 27 Mar 2019, 12:37 PM

Hi,

I am experiencing a rather odd behavior, when i try to use the pin functionality on a gridview with datapager.

The gridview is bound to a VirtualQueryableCollectionView, which only load the relevant data based on the page shown. If I pin rows on page 1, all seems to be working fine. But when I pin a row on page 2 (Or above), Only the pinned row is shown at top, and the rest of the items are blank. When I unpin, all data are presented as expected.

I have reproduced the behavior in the attached project.

 

Am I missing something?

 

Best Regards 

 

Dennis

2 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 01 Apr 2019, 12:26 PM
Hi Dennis,

I will check your case and let you know about my findings later today.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Martin Ivanov
Telerik team
answered on 01 Apr 2019, 12:44 PM
Hello Dennis,

This is a timing behavior that appears because the pager and the virtualized collection both have load on demand mechanisms. In order to resolve the issue on your side, you can set the Source property of the RadPager control after the initial loading of the VirtualQueryableCollectionView. You can see this approach shown in attached project.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Dennis Tycho
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or