- Home
- Forum
- Angular - EJ 2
- Wrong data binding on dropping card (During Card Rendered event)
Wrong data binding on dropping card (During Card Rendered event)
Hi, currently working on my pet project and faced an issue. After i dropping card into another column i have wrong data properties to be set.
Example of my data source:
[{
"id": 380,
"createdAt": "2025-11-21T16:26:25.174865Z",
"createdBy": {
"id": 1030,
"uuid": null,
"mainUserId": null,
"firstName": "Taisiia",
"lastName": "Mykolenko",
"patronymic": "Patronymic"
},
"commentsCount": 0,
"candidateSource": {
"id": 1180,
"name": "TALENT_SOURCING",
"displayName": "Talent Sourcing"
},
"activeStage": null,
"candidateInformation": {
"fullName": "New 4",
"email": "[email protected]",
"phone": null,
"location": null,
"linkedIn": null
},
"applicationAttachments": {
"portfolioLink": null,
"coverLetter": null,
"cvFile": null
},
"employmentDetails": {
"expectedCompensation": null,
"expectedStuffingTime": null
},
"stageKey": "1766",
"stage": {
"id": 1770,
"displayName": "Applied",
"displayOrder": 0,
"isApplicationStage": true,
"color": {
"name": "LIGHT_BLUE",
"textColor": "#6790EF",
"backgroundColor": "#D9E3F8"
},
"stageActions": [],
"localizations": null
},
"expanded": false
}]
Pay attention to 'New 4' card:
After dragging it into next('Interviewing') column it looks next:
This is because(i guess) when data should be updated and our keyField should be updated, we get only new stageKey, not whole object(as it was in example of my data source) with updated stageKey
Attachment: image_4_240684fa.png
In data source changed event situation is the same
Hi Taras Sokha,
Btw my issue was resolved with adding headerField to cardSettins (i've skipped it occasionally).
Hi Taras Sokha,
We are glad that your issue has been resolved, and we would like to inform you that the headerField property of cardSettings is mandatory to render the cards in the Kanban board. It acts as a unique field that is used to avoid the duplication of card data. You can not change the headerField of the mapped data value using the updateCard public method or server-side update of data.
- 4 Replies
- 2 Participants
- Marked answer
-
TS Taras Sokha
- Nov 25, 2025 09:37 AM UTC
- Nov 27, 2025 04:30 AM UTC