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

RagGrid Problem with VirtualScrollPaging

1 Answer 25 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dep. Desenvolvimento
Top achievements
Rank 2
Dep. Desenvolvimento asked on 18 Jan 2018, 05:08 PM

Hello, I have a problem using EnableVirtualScrollPaging in asp.net RadGrid.

In the grid I have GridBoundColumn and GridTemplateColumn columns.

At server side put all rows with same height.

     rdgLista.MasterTableView.ItemStyle.Height = 50;
     rdgLista.MasterTableView.AlternatingItemStyle.Height = 50;

When I scroll down page 2 is load when I have not yet reached the end of page 1.

 

<ClientSettings>
                    <Resizing AllowRowResize="false" />
                    <Scrolling AllowScroll="true" EnableVirtualScrollPaging="True" UseStaticHeaders="true" SaveScrollPosition="true">
                    </Scrolling>
</ClientSettings>

 

Can you help?

 

Best Regards.

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 23 Jan 2018, 07:59 AM
Hi,

I am afraid templates are not supported with the Virtualization feature provided by RadGrid:
https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/scrolling/virtualization#limitations

As an alternative approach, you can remove the virtualization properties from your grid, enable standard built-in paging and use some other means to improve the performance of the templates:
http://www.telerik.com/forums/radgrid-becomes-too-slow-when-binding-over-100-records#qxa2LUwVA0WYQpqmpwjrTg


Regards,
Eyup
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Dep. Desenvolvimento
Top achievements
Rank 2
Answers by
Eyup
Telerik team
Share this question
or