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

Spring Boot REST API integration

1 Answer 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 16 Sep 2018, 08:55 PM

Hello,

I'm trying to integrate the Kendu UI Grid to a Spring Boot REST API.  I have it working okay, but when I try to enable sorting and filtering I am running into issues.  Spring Boot requires the params for paging to be called "page" and "size" instead of the Kendo "skip" and "take".  I was able to work around this, but filtering is much more complex.  I found toDataSourceRequestString which converts the state to a format for ASP.NET MVC.  Is there any such integration for Spring Boot?  Has anyone run into this and found a reasonable work around?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 19 Sep 2018, 06:21 AM
Hi Jose,

The toDataSourceRequestString helper function was designed to convert the Grid state to a query string that can be properly processed by the DataSourceRequest model binder, part of the UI for .NЕТ (and .NЕТ Core) MVC product.

As there are many existing customers that use DataSourceRequest and ToDataSourceResult for conveniently dealing with server-side data operations, we provided a convenient way to create the custom-tailored query string required on the server.

There is no similar built-in helper function for creating Spring Boot-specific query strings, but if you have the time, please submit a feature request to our UserVoice portal, so we can consider introducing one based on the customer demand:

http://kendoui-feedback.telerik.com/forums/555517-kendo-ui-for-angular-feedback

Thank you in advance.

Of course, if anyone has found a reliable solution or has a working example, please share it here, so we can create a documentation article based on it, and all members of the community that are interested can benefit. Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Jose
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or