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

Grid - Refresh every X seconds + ASPNETCore examples

1 Answer 832 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Doug Odegaard
Top achievements
Rank 2
Doug Odegaard asked on 06 Sep 2017, 06:40 PM

I am wondering if anyone has experience with refreshing a grid (no paging involved) on an interval.  I would like to refresh every 60 seconds but interested in making it as transparent as possible to the user.  I am doing my reads from an API endpoint with JSON returns therefore wondering about the use of .read() or .sync() and preference.  This is a read-only grid.  I am using the jQuery Kendo grid with ASP.NET Core MVC project.

In addition if you have any examples of web sockets or using ASP.NET Core early releases of SignalR with an ASP.NET Core MVC site that would be amazing.

Thanks.

Doug

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Sep 2017, 08:49 AM
Hello Doug,

I can suggest checking our demo examples demonstrating how the Grid can be used with SignalR and with WebSockets:

http://demos.telerik.com/kendo-ui/grid/signalr

http://demos.telerik.com/kendo-ui/grid/web-socket

Also, for better demonstrating how the Grid will handle if it receives a new data every 60 seconds, I made a small example which is changing the Grid data every 1 second. Depending on the pageSize using a 60 seconds interval should not cause any performance issues:

http://dojo.telerik.com/atope

I hope this is helpful.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
K
Top achievements
Rank 1
commented on 11 Jul 2022, 11:54 AM

Can you please help with which service is actually used in  Kendo UI Demp Service for Web Sockets.  Is there a demo project that has web-sockets + Grid so I can see how it works?

This example uses the Kendo UI Demos Service as a back-end.

The full source code is available on GitHub.

Georgi Denchev
Telerik team
commented on 13 Jul 2022, 08:01 AM

Hello, K,

The implementation of the WebSocket service is in JavaScript and it can be found in this archived repository:

https://github.com/telerik/kendoui-ws-demo 

The app.js file handles the requests and the Demo showcases how you can implement it on the front-end.

Best Regards,

Georgi

Tags
Grid
Asked by
Doug Odegaard
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Share this question
or