Using NextJS App Routing with KendoReact Grid

1 Answer 80 Views
General Discussions Grid
Jonathan
Top achievements
Rank 1
Jonathan asked on 17 Jul 2023, 11:19 PM
I am curious if you have an example of using the Kendo React components in the newer NextJS App routes? Specifically using the data grid to load data from the server and still do paging and such. 

1 Answer, 1 is accepted

Sort by
0
Wissam
Telerik team
answered on 18 Jul 2023, 01:33 PM

Hi, Jonathan,

We have an example for the Grid with Next.js but it does not use the App routes. Therefore, I created one with data state changes (paging, sorting, and filtering) and fetched data and I am sending it as an attachment.

Since our components are currently client-side ones, it is not possible to use them in the App router environment without wrapping them and this is what I did in the example. More information about this topic can be found here:

In addition, I fetched the data client side using the `useEffect` hook:

Please check the demo and let me know if it matches what you need and if you have any further questions.

Regards,
Wissam
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
General Discussions Grid
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Wissam
Telerik team
Share this question
or