Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Override cascadeSelection in TreeGrid

    Hi Isomorphic,
    I'm dealing with a problem of reducing the functionality provided with cascadeSelection property. According to the docs: 'Should children be selected when parent is selected? And should parent be selected when any child is selected?'.
    I wan't to get rid of the 'first part'. So it should select the parents when a child is selected, but IT SHOULD NOT select the children of a selected parent.

    It's because in my app TreeGrid represents a privilege hierarchy, so user having a 'parent' privilege doesn't have to have a child one. But he inherits the privileges from the parent chain.

    I've started with selectionChanged, but returning false from the method didn't prevent from selecting nodes according to the docs.

    I would be grateful for suggestions.
Working...
X