EJ2 Kanban: Weird behavior for delete and remote datamanager

Ok, any kanban with a remote datamanager as the source does this and I don't know why, so I am hoping for some clarification or confirmation this is unexpected behavior.  In short, when you double click a card to edit and then click the delete button, it requeries the underlying kanban PRIOR to clicking yes or no on the delete popup.  Not that its a big deal, but we have a very extensive user base on a shared Kanban so people are seeing new things which then throws off the layout.  Is this expected behavior?  To clarify, no errors occur, it just re-queries when you click delete but before you click yes / no.

3 Replies 1 reply marked as answer

RK Revanth Krishnan Syncfusion Team June 7, 2021 12:45 PM UTC

Hi Mark, 
 
 
Greetings from Syncfusion support. 
 
 
We have validated your query “EJ2 Kanban: Weird behavior for delete and remote data manager”. 
 
We tried to reproduce the issue “Any kanban with a remote data manager as the source, which has a very extensive user base on a shared Kanban so people are seeing new things which then throws off the layout” with remote data source with data manager but we couldn’t reproduce the issue, the layout doesn’t change. We have prepared a sample for your reference, 
 
 
 
Note: The popup dialog that confirms yes or no when the delete button is clicked in dialog editing is the default behavior of the Kanban 
 
Can you share us with more following details? 
  • The exact replication procedure of the issue.
  • The code snippet of the Kanban used in the application.
  • The exact package version used in the application.
  • The video illustration of the issue reproducing scenario.
  • If possible please share us with the issue reproducible sample or please modify the shared sample with the issue reproducing code.
 
The above details will be helpful for us to validate and reproduce the issue from our end and assist you at the earliest. 
 
Regards, 
Revanth 



MA Mark June 7, 2021 02:56 PM UTC

Hello, I have tried multiple machines and different connections and the stackblitz doesn't load.  What I meant by layout was, if someone else added a card, that requery pulls in the new data and the cards can shuffle so the user can be thrown off.  If you add a dataBound with a console.log(), you should see that when you click delete (not YES or NO), the Kanban is refreshed.  My question is, is that expected behavior and if so, why?


RK Revanth Krishnan Syncfusion Team June 8, 2021 03:39 PM UTC

Hi Mark, 
 
 
Good day to you. 
 
 
We have further validated your query “If someone else added a card, that requery pulls in the new data and the cards can shuffle so the user can be thrown off when you click delete (not YES or NO), the Kanban is refreshed.” 
 
We have analyzed and the reported scenario doesn’t occur, the Kanban doesn’t refresh when the delete button is clicked. We have prepared a local sample for your reference, 
 
Note: Run the sample by running the command ‘npm install’ and then ‘npm start’. 
 
 
Can you please share us with the already requested details? 
  • The code snippet of the Kanban used in the application.
  • The exact package version used in the application.
  • The video illustration of the issue reproducing scenario.
  • If possible please share us with the issue reproducible sample or please modify the shared sample with the issue reproducing code.
 
As the above details will be helpful for us to validate and reproduce the use case scenario and assist you at the earliest. 
 
Regards, 
Revanth 


Marked as answer
Loader.
Up arrow icon