Ticket Q459408
Visible to All Users

Make rows mandatory

created 12 years ago

Is there a qucik way to force a user to "tick"/select treelist rows in a particular order?
E.g. instead of being able to select/tick the box in ROW 1, ROW5 & ROW8, a user has to select ROW2, ROW3 and ROW4 to get to ROW5.

I've got a treelsit which is effectively a sort of tasklist. Some tasks are mandatory and need to be "ticked" before the next task can commence.
The data I'm using to build this treelist already has a hidden column called MANDATORY which contains a 0 or a 1 to determine if a row is mandatory (1 being mandatory)

Thanks

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

To achieve this goal I suggest you handle the TreeList.BeforeCheckNode event to determine whether or not a particular node can be checked or unchecked.

    Comments (2)

      Thanks John, had a good look at the sample and applied that to my project. Working now :)

      DevExpress Support Team 12 years ago

        You are welcome.
        I am glad to hear that you have found my assistance helpful. Please feel free to contact us in case of any difficulties.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.