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

Re: [ydn-javascript] firesLabelClick in treeview

Expand Messages
  • Satyam
    Thanks for noticing, the firesLabelClick property never made it to the actual build, it remained in the docs by mistake. To prevent the default click action,
    Message 1 of 2 , Dec 31, 2008
    • 0 Attachment
      Thanks for noticing, the firesLabelClick property never made it to the
      actual build, it remained in the docs by mistake.

      To prevent the default click action, listen to clickEvent, do whatever
      you might want to do instead, or nothing at all and then return false.
      The false will prevent the default action from happening. labelClick is
      deprecated and it does not care for any feedback you would care to give it.

      Please file a bug report on SourceForge so it gets fixed.

      Thanks

      Satyam


      nhajek wrote:
      > I would like to surpress the node expansion when clicking on the label
      > in a treeview node and saw a reference to the "firesLabelClick"
      > property mentioned on http://developer.yahoo.com/yui/treeview/#events
      > However, I can't get this to work nor can I find any match for
      > "firesLabelClick" when grepping my yui/build directory. What am I
      > missing?
      >
      > thanks,
      >
      > Nick
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      > ------------------------------------------------------------------------
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - http://www.avg.com
      > Version: 8.0.176 / Virus Database: 270.10.1/1870 - Release Date: 31/12/2008 8:44
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.