GridColumnMenuCheckboxFilter virtual scrolling?

6 posts, 1 answers
  1. Daniel
    Daniel avatar
    14 posts
    Member since:
    Apr 2020

    Posted 23 Apr Link to this post

    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.

  2. Answer
    Stefan
    Admin
    Stefan avatar
    2817 posts

    Posted 23 Apr Link to this post

    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.
  3. Daniel
    Daniel avatar
    14 posts
    Member since:
    Apr 2020

    Posted 23 Apr in reply to Stefan Link to this post

    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!

  4. Stefan
    Admin
    Stefan avatar
    2817 posts

    Posted 24 Apr Link to this post

    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.
  5. Christian
    Christian avatar
    4 posts
    Member since:
    Dec 2019

    Posted 22 Jun Link to this post

    Created a feature request: https://feedback.telerik.com/kendo-react-ui/1472861-virtual-scrolling-for-gridcolumnmenucheckboxfilter
  6. Stefan
    Admin
    Stefan avatar
    2817 posts

    Posted 23 Jun Link to this post

    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.
Back to Top