Hi all,
I'd like to use the tristate checkbox in a webdatatree but, unlike the default behavior, I've need that the partial state will be explicitly choosen by the user, for example with three click on the check box (one click for selecting, two click for unselecting, the third for making the checkbox partially checked).
Is this possible? If yes any hints?
Thanks in advance.
Hello Costanzo,
I am following up to see if the information and sample provided has resolved this matter.
Please let me know if I may be of further assistance with this matter.
Sincerely,
Mike P.
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com
Hi Mike,
thank you very much for the example.
Currently, my issues regarding webdatatree and changing checkbox images are solved.
Many thanks.
Thank you for your patience. I have modified the sample to demonstrate this behavior. In the client side Initialize event I loop though the nodes and check the state if they and set the image. At the top of the event I have some test code to demonstrate this on the first node.
Please let me know if you have any questions concerning this matter.
Thank you for the update. In theory this can be achieved by handling the client side Initialize event which should occur after that data has been loaded and the state of the checkboxes have been set. After this you would loop through you nodes checking the value and if they are set to the state you want change the image. I am working on a sample to demonstrate this behavior. I will continue to look into this matter and give you a progress update by the end of the day tomorrow.
Hi Michael,
thanks for the example it works very well.
Now I've the following issue: when loading the tree I need to fill it with the checkbox state that I read from the datasource. This operation is server side for me. How can I change the checkbox icon in this case?
Thank you in advance.