title: Fancytree is open and how are all selected by default?
body: <p>My fancytree looks like the following. It is running but i want to add some features, first page load all checkbox is selected and all tree opened. How can i do it?</p>
  
  <pre><code>$("#definition-tree").fancytree({
                  checkbox: true,
                  selectMode: 3,
                  icons: false,
                  source: convertData(@Html.Raw(ViewBag.ResumeSettingDefinitions)),
                  select: function (event, data) {
                      var selNodes = data.tree.getSelectedNodes();
                      var selKeys = $.map(selNodes,
                          function (node) {
                              return parseInt(node.key);
                          });
                      selectedResumeSettingDefinitionsId = selKeys;
                  },
                  click: function (event, data) {
                      if ($.ui.fancytree.getEventTargetType(event.originalEvent) == "title") {
                          data.node.toggleExpanded();
                          data.node.render();
                      }
                  },
                  keydown: function (event, data) {
                      if (event.which === 32) {
                          data.node.toggleSelected();
                          return false;
                      }
                  }
              });
  </code></pre>