- Home
- Forum
- JavaScript - EJ 2
- updateDroppedData throws error - unable to set property of undefined
updateDroppedData throws error - unable to set property of undefined
Trying to get a very basic Kanban going to show which
employees are assigned to which team.
Everything displays correctly, but when you drag an employee to another
column, it throws an error of:
at e.updateDroppedData (constants.js:93)
at e.<anonymous> (constants.js:93)
at e.notify (constants.js:93)
at t.e.trigger (constants.js:93)
at e.dragStop (constants.js:93)
at e.notify (constants.js:93)
at t.e.trigger (constants.js:93)
at t.intDragStop (constants.js:93)
The data is:
The code is:
dataSource:
data,
keyField:
'reportsTo',
columns: [
{
headerText: 'Employees', keyField: '0' },
{
headerText: "jdoe", keyField: "3" },{ headerText:
"Juan De Tal", keyField: "5" }, ],
cardSettings:
{
contentField: 'display_name'
}
});
kanbanObj.appendTo('#Kanban');
Any thoughts?
- 3 Replies
- 3 Participants
-
MA Mark
- Apr 19, 2020 03:38 AM UTC
- Apr 21, 2020 06:33 AM UTC