Best way to refresh calculated column only on Grid control

2023-06-29_10-41-18.png


The attached image shows a simple queuing system.  The Waiting column should be calculated based upon how many minutes after the customer checked in.  If I click the Refresh button, the column is updated as expected.

I asked my developer to create a 60 second timer to update just the calculated column, but we seem to be stuck.  He says that the Refresh button is telling the SyncFusion control to update through the REST API.  He says that he is unaware of how to update just the calculated column without requiring a call to the REST API endpoint.  We obviously don't want all of our connected clients to be polling the REST API every minute.

Can someone point us to the best solution here?  I'm hoping there is a an easy solution here.

Thanks... Mike


1 Reply 1 reply marked as answer

MW Mike Wozniak June 29, 2023 03:48 PM UTC

I think he finally figured it out.  He found function to change cells locally:

https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#SetCellValueAsync


Marked as answer
Loader.
Up arrow icon