Last Updated: 19 Oct 2021 14:06 by Srihari
Created on: 12 Oct 2021 15:49
Category: Grid
Type: Feature Request
Allow setting the number of rendered columns when using Column Virtualization

Hi, please expose a property in TelerikGrid where we can set the number of virtual columns to load in advance. A lot of times we would like to load data in advance for 5-10 columns left & right of the current viewport, so the user doesn't see empty columns while scrolling. This may apply to rows as well. It would be very helpful to have this property, please consider exposing it. Thank you.




The column Virtualization feature improves the Grid performance when it has a lot of columns. This does not include loading data on demand, but rather UI virtualization. All the data is retrieved and the performance optimization is achieved by rendering only the columns for the current Grid viewport. When the user scrolls horizontally the content for the other columns is rendered and while this happens, the cells appear empty. The requested parameter will control the number of columns that will be rendered in the current viewport but will not be visible until the user scrolls. Thus, the user will not see empty columns.

Posted on: 19 Oct 2021 14:06
Thansks for converting this to a feature request Nadezhda. Looking forward to having this feature available soon hopefully. Thanks.
Nadezhda Tacheva
Posted on: 19 Oct 2021 11:49

Hello Srihari,

Generally speaking, the Column virtualization is a bit different than the Row Virtualization. While they both strive to improve the Grid performance this is achieved with different approaches. With the Virtual scrolling, small chunks of data are retrieved from the data source while the user scrolls. With the Column virtualization, on the other hand, all data is retrieved and performance optimization is achieved by rendering only the columns for the current Grid viewport.

As per the current Column virtualization design, we are rendering a couple more columns for the current viewport that are not visible until the user scrolls. So, we can expose a parameter that will control the number of these columns and thus you can cover your desired scenario - set a higher number for the invisible rendered columns, so the user will not see empty columns.

I tweaked the title a bit to be more specific and I also added some clarifications for the feature in the Admin edit of your post.

I updated the status of the thread to "Unplanned" which indicates this is a valid request, not scheduled for implementation yet. I also added a vote on your behalf to increase its popularity as we are prioritizing the feature requests implementation based on the community interest and demand. As you are the creator of the post, you are subscribed and will receive email notifications on status updates.

Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.