code: function(fnDataLoader, iconMode) { 
          if (fnDataLoader) {
              this.dataLoader = fnDataLoader;
              this._dynLoad = true;
          } else {
              this.dataLoader = null;
              this._dynLoad = false;
          }
  
          if (iconMode) {
              this.iconMode = iconMode;
          }
      }
docs: Configures this node for dynamically obtaining the child data
  when the node is first expanded.  Calling it without the callback
  will turn off dynamic load for the node.
  @method setDynamicLoad
  @param fmDataLoader {function} the function that will be used to get the data.
  @param iconMode {int} configures the icon that is displayed when a dynamic
  load node is expanded the first time without children.  By default, the
  "collapse" icon will be used.  If set to 1, the leaf node icon will be
  displayed.