jsTree 初期表示で全て展開表示

open_all というメソッドが用意されてるとのことだが、jsTree の マニュアルを見ても
どう呼び出すのか解りにくい。

loaded.jstree イベントにバインドして実行させるそうだ。

$('#tree').jstree({ 'core':{
      'data':[
            {"id":1, "icon":"jstree-folder", "text":"Root",
            "children":[
               {"id":2, "icon":"jstree-file", "text":"A" }.
               {"id":3, "icon":"jstree-file", "text":"B" }
            ]
         }
      ]
   }
}).on('loaded.jstree', function(){
     $(this).jstree('open_all');
});