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

Grouping in grid

1 Answer 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
petr
Top achievements
Rank 1
petr asked on 15 Apr 2016, 09:31 AM

Hello.

We choose visual component package for our three-tier application with two thin clients: desktop (WPF) and web (HTML5/JS). Clients are connected only to application server (cannot access to database). We want to load all data to application server and download only showed data to the client.

We want to use grouping in your grid component. Is possible grouped data on server and send result (or showed part of result) to client grid component? In other words, has grid component some server-side part? Or grid component need load all data before grouping? We need solve this for both WPF and HTML5/JS.

Could you give me some examples or demos for testing? Please for both WPF and HTML/JS (Kendo UI).

Thank you.

Petr

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 20 Apr 2016, 08:34 AM
Hi Petr,

Telerik UI for WPF offers two data sources that might be helpful for your scenario:

    1.  RadEntityFrameworkDataSource for WPF. This control is the bridge between components like RadGridView, RadDataPager, RadDataFilter and EntityFramework's ObjectContext. The control will let you do all operations directly on the server -- paging (Skip and Take), filtering (Where), sorting (OrderBy) and grouping (GroupBy). Simply bind a RadGridView and a RadDataPager to a RadEntityFrameworkDataSource and you will get this out-of-the-box. You will also get CRUD support. You can see the control in action if you open our QSF and search for RadEntityFrameworkDataSource. The example contains a grid and a pager doing their stuff directly on the server.

   2. RadDataServiceDataSource for WPF. This one is used to do the same thing but against WCF Data Services. You can see it in action here under the respective category. You can also check out this blog post.

As for your question about Kendo UI - I would suggest open a new support thread under the respective category. In this way, we will be able to handle your case more efficiently.

Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
GridView
Asked by
petr
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or