Remote binding with ServerGrouping example

3 posts, 1 answers
  1. Nick
    Nick avatar
    9 posts
    Member since:
    Apr 2014

    Posted 15 Sep 2014 Link to this post

    Hello. 
    Does anyone know of a good example of  remote binding with ServerGrouping? 

    I'm trying to figure out with kind of response Kendo UI is expecting from server for grouping to work? I have to talk to a custom Rails backend that has standard AND custom CRUD actions and resturns JSON.

    If Telerik could provide a server grouping version of this example - it would be terrific!!  http://demos.telerik.com/kendo-ui/grid/remote-data-binding

    I tried to explore several Telerik's data sources/ backend but none of them seem to support server grouping.
  2. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2203 posts

    Posted 17 Sep 2014 Link to this post

    Hi Nick,

    Basically you should set the dataSource "schema.groups" option (function | string) to point to the field from the server response in which the groups are contained. Currently we have no such example which we can provide, other than the attached one which uses MVC as backend. The project requires VisualStudio 2012, however you can directly go and open the following file (with your favorite text editor) which contains the example grid dataSource configuration:
    • \%ProjectFolder%\Views\Home\Index.cshtml

    Also you can check the example response from the server for the above dataSource configuration:

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Nick
    Nick avatar
    9 posts
    Member since:
    Apr 2014

    Posted 26 Sep 2014 in reply to Vladimir Iliev Link to this post

    Thank you!

    As a side note - just a thought. It would be great if you could pass it on to whoever is in charge of Marketing / Business Direction .

    I would suggest telerik takes a look at ruby market, and how to make kendo more rails / sinatra friendly i.e. gem is outdated, there are almost no rails / kendo examples as well. In the Rails / Ruby world the current trend is to build SPA using some kind of Javascript framework with a Rails / Sinatra or Grape backend service that generates XML or JSON. The current frameworks on the market (both commercial and open source) are all about providing the wiring (Angular, Ember, Knockout, etc), but very few provide a good set of tools (widgets ) like Kendo (the only other two jquery based I know are Wijmo and w2ui ). Rails world is overwhelmingly jQuery world, and most people I know who are not familiar with .NET,  are not even aware of Kendo. 
Back to Top