We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I need your helps.
I'm trying add new children in node, and I'm receiving the following error: Cannot read properties of undefined (reading 'children')
I have the source data like example: var datasource = { 'name': 'Lao Lao', 'title': 'general manager', 'children': [ { 'name': 'Bo Miao', 'title': 'department manager' }, { 'name': 'Su Miao', 'title': 'department manager', }, ] }; ..... .on('click', function(event, data) { debugger; oc.addChildren($(this), { 'children': [ { 'name': 'Tie Hua', 'title': 'senior engineer' }, ]}) });
jquery.orgchart.js Line: 902
var url = $.isFunction(opts.ajaxURL.children) ? opts.ajaxURL.children($node.data('nodeData')) : opts.ajaxURL.children $node[0].id;
Help please
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I need your helps.
I'm trying add new children in node, and I'm receiving the following error:
Cannot read properties of undefined (reading 'children')
I have the source data like example:
var datasource = {
'name': 'Lao Lao',
'title': 'general manager',
'children': [
{ 'name': 'Bo Miao', 'title': 'department manager' },
{ 'name': 'Su Miao', 'title': 'department manager',
},
]
};
.....
.on('click', function(event, data) {
debugger;
oc.addChildren($(this), { 'children': [
{ 'name': 'Tie Hua', 'title': 'senior engineer' },
]})
});
jquery.orgchart.js
Line: 902
var url = $.isFunction(opts.ajaxURL.children) ? opts.ajaxURL.children($node.data('nodeData')) : opts.ajaxURL.children $node[0].id;
Help please
The text was updated successfully, but these errors were encountered: