In Kendo UI for jQuery document, there is a section for WebSocket binding.
However, I couldn't find the WebSocket binding example in KendoReact document.
Can you tell me where it is?
regards,
1 Answer, 1 is accepted
0
Stefan
Telerik team
answered on 26 Mar 2020, 10:16 AM
Hello, Donam,
Currently, we do not have a demo with WebSockets for KendoReact.
The main reason is that the KendoReact Grid follows the React best practices and does not have internal data manipulation as the Kendo UI Grid has with the data source. This makes the KendoReact Grid easily connected to any data as long as it is in JSON array, as it has no specific requirements for the services, it only expects data array and emits an event when something changes.
This is why we have very little integration demos with such services, as the Grid itself has no requirements on how to interact with them. The developer has to connect to the WebSocket and pass the data to the Grid and push notifications when something in the Grid changes on the onItemChange or onDataStateChange events.
I used the same WebSocket and connected the KendoReact Grid with it. I did not add the full integration as this will be specific to the WebSocket implementation. The demo is proof of concept that this is possible:
We stay ready to assist if further questions arise.
Regards,
Stefan
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.