1 Reply Latest reply on Apr 25, 2007 4:43 AM by Greg Dove

    Disable Cell of Tree Component

    Ankur Arora Level 1
      I want to add a property to the rows/cells of Tree component, by which I can enable and disable the clicking of the rows. Any idea?

      Thanks in advance
      Ankur Arora
        • 1. Re: Disable Cell of Tree Component
          Greg Dove Level 4
          Haven't tried this, but its an idea:

          Tree inherits from the List class...
          so you have itemRollOver and itemRollOut events which lets you know the index of the item
          and a selectable property (at the level of the list (or tree in this case), not for a specific cell or index)

          so, you could listen for itemRollOver and set the selectable property of the Tree based on whether the index that you rolled over is supposed to be selectable or not.

          Like I said, I haven't tried it.