Hi,
Is there a way to allow single selection of the checkboxes on XamDataTree?
Thanks,
Meisam.
The XamDataTree does not currently support that feature out of the box.
This is due to our current perspective that the main purpose of the checkboxes functionality is to provide multiple selection. Single selection is usually done by using radio button elements which we haven’t implemented.
However, you may submit a feature request at the following location:http://devcenter.infragistics.com/Protected/RequestFeature.aspx
RegardsTania
Thanks for your help.
I figure that already. I was wondering if there is feature for this.
This sounds like a common scenario to me.
Hi misamae,
Yes, I understand what you mean.You need to attach to the 'NodeCheckedChanged' event and implement the functionality in the event handler.You must have and a local member for the last checked node.
You know you can check multiple node's checkboxes. However, I'm wondering if it is possible to remove other checkboxes in case you select a new node.
Hope it's clear now.
Thanks, Meisam.
I am not sure exactly what is your question. But in XamDataTree for CheckBox Mode you can use -> TreeCheckBoxMode.Manual or TreeCheckBoxMode.Auto. TreeCheckBoxMode.Manual state means that when marking a node as checked the checked/uncheched status of its child nodes will not change.
Example:
dataTree.CheckBoxSettings.CheckBoxMode = TreeCheckBoxMode.Manual;
Does this meet your question?