Dear Syncfusion team,
we are currently using a Kanban with a DataManager using the OData adapter. We have some custom calculated properties, that we are using for the column assignment, which have a base property, that is shown in the card template. In our case, it is a due date, and we show the weekday as columns.
When we drag a card to a different day, we update the item's due date based on the weekday column it has been dragged to. This works nicely, however, since the Kanban is updating the Weekday property, it does not change the displayed due date to the new value.
We would like to manually refresh cards after it has been changed. For this, we are looking for an event, that is fired, once the DataManager returns from the update call. We have tried the "actionComplete" event with the "requestType" == "cardChange", however, it seems to be fired prior to the DataManager actually making the OData call. When we refresh the card there, we have a race condition, where the "update" call typically still loads the old data. "dataSourceChanged" is also not called when we drag a card for the first time. The pattern is:
drop a card: actionBegin -> actionComplete
drop a card again: actionBegin -> dataSourceChanged -> actionComplete
What event can we use? I have tried to find something on the DataManager, but it has no events at all, that we could hook into. Will we have to create a custom DataAdapter based on the ODataAdapter to achieve this, or is this even a bug in your component, that the event is firing too early?
Thanks for any pointers!
Cheers,
Christoph