Grouping in grid

2 posts, 0 answers
  1. petr
    petr avatar
    1 posts
    Member since:
    Nov 2015

    Posted 15 Apr Link to this post

    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

  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 20 Apr Link to this post

    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 you to 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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top