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

Does KendoUI Grid support remote grouping?

3 Answers 314 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Artem
Top achievements
Rank 1
Artem asked on 17 Oct 2018, 03:21 PM
Looking at official documentation on grouping feature I see that it's completely client-side. This solution only makes sense for small amount of data but real business cases, that we're faced with, is thousandths and millions of records. If I'm not mistaken visual presentation of group on UI is "logical" container that groups group related records. We need to support remote grouping to meet performance requirements.

Is it possible to configure KendoUI Grid to support this feature?

Regards,
Artem

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 18 Oct 2018, 09:52 AM
Hi Artem,

The Grid could be bound to grouped data, and there would be no difference if it is client or server side generated.

In the example the grouping happens outside of the grid, using the process method from the @progress/kendo-data-query package that we provide for connivance. Similar processing could happen in any backend, and here is some examples with asp.net core https://www.telerik.com/kendo-react-ui/components/dataquery/mvc-integration/

And you could skip the kendo-data-query altogether, if you have your own data layer that handles paging, sorting, grouping etc.
Here is a basic example, I have stripped most of the logic and placed some inline data. Open it and press the second page button.
https://stackblitz.com/edit/react-emsfb3?file=app/main.js

Here is a demo that shows remote binding using fetch. https://www.telerik.com/kendo-react-ui/components/grid/data-operations/odata-server-operations/ with some debounce to avoid spamming the server with calls, some caching and loading panel. Again it is just a sample, there is really no limit how you will bind it, as long as you pass the data in the correct format like in the first example. This way you can integrate it with any data layer, service, local operations, server push notifications etc.

I hope this clear up the question about how to bind it to group data, if you need further assistance with the Grid API let us know.

Regards,
Vasil
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
genji
Top achievements
Rank 1
answered on 22 Oct 2019, 07:00 AM
@Vasil are there any plans to finally add Remote Grouping to Telerik? We were looking at DevExtreme which can do it very cleanly but we prefer Telerik overall for its native Angular support etc... It is just not very viable to not have remote grouping for large datasets.... just trying to add a vote for adding this please.
0
Vasil
Telerik team
answered on 22 Oct 2019, 12:02 PM

Hello genji,

The KendoReact Grid component supports remote grouping, it even work with virtualization.

I am not sure if my previous post was confusing or not. So I am confirming this:

Remote grouping works. And it works with as large datasets as you have. There are also 2 possible ways to achieve it:

- Your backend need to support 2 things: sorting and paging.

- Or your backend supports grouping with or without paging.

In both cases you can bind the KendoReact Grid with a few lines of code and show grouped data.

There are also several hybrid cases with load on demand combinations. 

As addition to this old thread, there is also TreeList component now and for some kind of data it is even better suited. 

 

If you are asking about different product, since you are mentioning Angular here as well as Telerik (assuming WebForms as telerik brand), I can point you to resources about it as well.

Regards,


Vasil
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Artem
Top achievements
Rank 1
Answers by
Vasil
Telerik team
genji
Top achievements
Rank 1
Share this question
or