Ticket T201929
Visible to All Users

How to add Checkedit in parent node for treelist in c# ?

created 10 years ago

I want to add Check box in parent node and combo box in child node for c# windows form.

Answers approved by DevExpress Support

created 10 years ago (modified 10 years ago)

Hello,

To achieve this goal, handle the TreeList.CustomNodeCellEdit event. You can set the required in-place editor to the required node using the e.Node.Level in the TreeList.CustomNodeCellEdit even handler. Please try this approach and inform us of your results.
I am looking forward to your reply.

    Comments (3)
    SS SS
    Systematics Software 10 years ago

      Thank you very much .It works for me as per my expectations.

      SS SS
      Systematics Software 10 years ago

        I have another question ?
        If I check the checkbox of  parent node then it should not expand its childnodes or make it Editable false.
        How to do this ?

        DevExpress Support Team 10 years ago

          Hello,

          Thank you for informing us that the issue has been resolved. Feel free to contact us if you have additional questions.

          As for your second question:

          In order not to mix several questions within one thread, I will extract your question to a new ticket. Let us continue our discussion there How to to make child nodes non editable or not expandable.

          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.