Hi,
I am trying to get the Kanban to always show the latest data after I drag and drop a card. It seems to lose track of the changes after dragging multiple cards on the kanban. This results in the kanban showing the old position for the most recently dragged card.
My steps to reproduce:
It seems to send an edit request and then display the updated data after that returns. I noticed it also sends a 2nd request to Get data which doesn't seem to do anything when it returns. Could you clarify what is happening here?
I tried manually refreshing the kanban after editing in the dataBound event, but it does not pass up the query with the request when I refresh.
This is my datasource:
Hi,
I was able to recreate my issue with your demo. I added logic to the dataBound setting to set the column header text to a custom calculation based on a model property. This causes the kanban to become out of sync after a few edits.
https://stackblitz.com/edit/vbjnjk-ww8tnk?file=index.ts
Yes, the second GetData request does get the data, but I am confused as to why it does this. The kanban has already refreshed before this request is sent. In the demos and your sample, the edit request also gets the latest data and returns it. I have tested returning null and the kanban still refreshes fine.
So it seems like the kanban refreshes using local data, and then unnecessarily gets the data twice from the server.
The reason I have noticed this is because of the above issue where my kanban is showing incorrect data. And when I investigated the second GetData request, it is returning the correct data, but the kanban does not reflect this. Does this mean the kanban only shows data that has been manipulated on the client, and I need a fullrefresh the browser to use the data from the server?
Hi Gunasekar,
Has this patch now been released?
Hi Gunasekar,
I have got version 19.3.46 and nothing has changed functionality-wise? I tested the above example again and the issue is still there.
"@syncfusion/ej2-angular-richtexteditor": "19.3.46" |
Hi Gunasekar,
Sorry, I must not have updated correctly. The kanban data is now correctly staying in sync with the edit actions.
Thanks for that.
I have noticed a new bug from this update. After you drag and drop a card, the column header template seems to reset to default and ignore the template. I can't replicate this in StackBlitz because it won't let me download the latest version of ej2.