刚刚接触 Jstree, 我用的是jsTree.v.1.0rc2, 很多问题都不懂。数据源是_xml_flat.xml, 在CRRM操作之后,通过后台更改了这个xml文件,但是刷新页面后,Jstree还是原来的数据,并没有读新的_xml_flat.xml文件。 
有人知道怎么弄吗?下面是几个地方的关键代码:
   $("#demo")
    .jstree({
        // the list of plugins to include
        "plugins": ["themes", "xml_data", "ui", "crrm", "cookies", "dnd", "search", "types", "hotkeys", "contextmenu"],
        // Plugin configuration         // I usually configure the plugin that handles the data first - in this case JSON as it is most common
        "xml_data": {
            "ajax": {
                "url": "js/jsTree.v.1.0rc2/_docs/_xml_flat.xml"
            },
            "xsl": "flat"
        }
}) .bind("create.jstree", function (e, data) {                   $.ajax({
                       url: "TreeAction.aspx",
                       data: {
                           "action": "create",
                           "parent_id": 0,
                           "rel": data.rslt.obj.attr("rel"),
                           "name": data.rslt.name
                       },
                       success: function () {
                           $('#demo').jstree('refresh', -1);
                       }
                   })              
           })