callError = function(number, message) {
                                self._data.core.last_error = { 'error' : 'configuration', 'plugin' : 'parentsload', 'id' : 'parentsload_' + number, 'reason' : message, 'data' : JSON.stringify({config: parentsloadSettings}) };
                                self.settings.core.error.call(self, self._data.core.last_error);
                        }
parentsload configuration

The configuration syntax is almost the same as for core.data option. You must set parenstload.data the following:

parentsload: {
     data: function(){} // this function overwrites core data.data options
}

OR

parentsload: {
     data: {
             url: function(node){} OR string,
             data: function(node){} OR associative array as json{data} jQuery parameter
     }
}

In last case at least on of 'url' or 'data' must be presented.

At first, the plugin load_node() detects if the node already downloaded. If is - uses the core.data settings, if not - uses parentsload.data settings
to fetch in one query the specified node and all its parent. The data must be in the first mentioned JSON format with set nested children[].
Each node level should consist of all nodes on the level to properly work with the tree in the future. Otherwise, you must manually call load_node
on every parent node to fetch all children nodes on that level.

@name $.jstree.defaults.parentsload
@plugin parentsload