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

Grid Editing with SignalR Datasorce

2 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Catherine
Top achievements
Rank 1
Catherine asked on 13 Jun 2019, 05:51 PM

Hi, 

I saw on another thread that it is not advisable to use signalR as a datasorce in the grid if you plan on using editing. I am currently working on a project where I plan to do exactly that. I would like to know why that might cause problems.
So far I have an example project where I implemented CRUD operations to a database using the grid and a signalR hub and it seems to work pretty well. The live update only works once, but I haven't tried to troubleshoot that problem yet so it might be a simple fix.
It's also worth noting that I am not using in-line editing; I can see how that would take a bit more work to implement.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Viktor Tachev
Telerik team
answered on 18 Jun 2019, 07:27 AM
Hi Catherine,

Having CRUD operations with SignalR will technically work. However, it may not be convenient to the users. The reason being that when a push notification comes to the Grid it will be updated and rebound. If the user edits an item at that time the changes will be lost. 

Such behavior will likely not be expected by the users and that would affect user experience. Because of this It is recommended to have a read-only Grid when using SignalR. 


Regards,
Viktor Tachev
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.
0
Catherine
Top achievements
Rank 1
answered on 18 Jun 2019, 12:07 PM
Thank you!
Tags
Grid
Asked by
Catherine
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Catherine
Top achievements
Rank 1
Share this question
or