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

GridColumnMenuCheckboxFilter virtual scrolling?

7 Answers 199 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Veteran
Daniel asked on 23 Apr 2020, 05:26 AM

Hi,

 

Does the GridColumnMenuCheckboxFilter have virtual scrolling? Or is there a way to enable or add it?  Thanks.

 

https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnMenuCheckboxFilterProps/

Thanks.

7 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 23 Apr 2020, 02:30 PM

Hello, Daniel,

Currently, the GridColumnMenuCheckboxFilter has only standard scrolling. 

When there are many records we recommend using the Search functionality.

The main idea is that this is a small popup type menu list and scrolling through millions of records is not very convenient.

In cases with large data sets, we recommend using a custom search box, filtering the data on the server and populating the menu only with the items from the search:

https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnMenuCheckboxFilterProps/#toc-searchbox

If there is a use case in which the virtual scrolling is the main acceptable option, please provide more detail around it and we will try to provide suggestions based on that.

Regards,
Stefan
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Daniel
Top achievements
Rank 1
Veteran
answered on 23 Apr 2020, 09:09 PM

Your explanation makes sense.  How about the following situation.  The grid is handling 5000 rows via virtual scrolling or paging.  So the grid renders efficiently and without noticeable delay, but when the GridColumnMenuCheckboxFilter  opens, then it will have to render all 5000 names with checkboxes (without virtual scrolling), which causes a notable delay.

Per your suggestion, since the data is already in memory, I suppose I could write some custom logic to filter the data that's passed into the GridColumnMenuCheckboxFilter after the user types in a few characters in the search box.  This is an acceptable workaround.  But I would think it more intuitive that the checkbox list simply uses virtual scrolling to only render what's needed. 

The assumption here is that the number of checkbox options needed to show is equivalent to the number of rows shown in the grid.  I believe this is the common use case.  So if the grid can support virtual scrolling or paging, but GridColumnMenuCheckboxFilter does not having virtual scrolling or paging, then there seems to be a disconnect in the kendo API.  Not a blocker, but definitely something that could be enhanced.

Thanks Stefan!

0
Stefan
Telerik team
answered on 24 Apr 2020, 01:42 PM

Hello, Daniel,

Thank you for the additional details.

The main idea is that the CheckBoxColumnMenu has its own data property, so if the Grid has paging it can show the same data as the one shown on the page.

As for the virtual scrolling, yes I can agree we can have the same option to scroll over the data on the menu. By design, this menu is for cases where the user has a couple of available options and can easily choose the desired one by having a full look over them.

As we understand that each application has its specific business logic, and every feature has its designed place I can suggest making a feature request for it, and based on the community interest we will plan ti accordingly:

https://feedback.telerik.com/kendo-react-ui

Regards,
Stefan
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Christian
Top achievements
Rank 1
Veteran
answered on 22 Jun 2020, 02:49 PM
Created a feature request: https://feedback.telerik.com/kendo-react-ui/1472861-virtual-scrolling-for-gridcolumnmenucheckboxfilter
0
Stefan
Telerik team
answered on 23 Jun 2020, 09:31 AM

Hello, Christian,

Thank you for sharing the request here for better visibility.

We will monitor the community interest in it.

Regards,
Stefan
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Christian
Top achievements
Rank 1
Veteran
answered on 12 Jan 2021, 11:08 AM
Still interested in virtual scrolling in the filter menu. Any updates on that?
0
Stefan
Telerik team
answered on 12 Jan 2021, 11:37 AM

Hello, Christian,

This will depend on the community's interest in the feature.

Currently, there are other more requested features that will be planned in the next release.

We constantly monitor it and the planning can be updated if the interest in the feature raises.

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Daniel
Top achievements
Rank 1
Veteran
Christian
Top achievements
Rank 1
Veteran
Share this question
or