Loading ...
Sorry, an error occurred while loading the content.

47217Re: YUI TreeView dblClickEvent

Expand Messages
  • malutanpetronel
    Apr 1, 2009
    • 0 Attachment
      I see as a possible problem this function ? or maybe a missing parameter to be sent to tree to know that it is a HTML node tree ? :
      ...
      YAHOO.extend(YAHOO.widget.TaskNode, YAHOO.widget.TextNode, {
      _type: "TaskNode",

      getContentHtml: function() {
      var sb = [];
      sb[sb.length] = '<td><span';
      sb[sb.length] = ' id="' + this.labelElId + '"';
      if (this.title) {
      sb[sb.length] = ' title="' + this.title + '"';
      }
      sb[sb.length] = ' class="' + this.labelStyle + '"';
      sb[sb.length] = ' >';
      sb[sb.length] = this.label;
      sb[sb.length] = '</span></td>';

      sb[sb.length] = '<td style="color:#A33; font-size:0.85em;"><i>';
      sb[sb.length] = ' ' + this.oData.Language;
      sb[sb.length] = '<\/i><\/td>';
      return sb.join("");
      }
      });
      ..
    • Show all 4 messages in this topic