My jstree bind with following json format comes from web service..i want to change node color programmatically.
is there any property for this.?
$("#divCourseTree").jstree({ 'core': { 'data': { 'type': "POST", "async": "true", 'contentType': "application/json; charset=utf-8", 'url': "../WebService/BranchLocation.asmx/BindCourseTreeData", 'data': "{}", 'dataType': 'JSON', 'data': function (node) { } } } });
json output :{ "id": "ajson1", "parent": "#", "text": "Simple root node"}, { "id": "ajson2", "parent": "#", "text": "Root node 2" }, { "id": "ajson3", "parent": "ajson2", "text": "Child 1" }, { "id": "ajson4", "parent": "ajson2", "text": "Child 2" },