I want the parent child dropdown in infragistics or when I clicked on dropdown the tree view should be opened and able to do all the functionality of basic parent child relation
The attachment is at the bottom:
Hello,
Currently it is possible to have an igTree in igCombo, and yet the combo is used mainly as container for the dropDown allowing you to hide it in order to have more working space on the page.
Please note the igCombo is in ReadOnly mode, as well as allowingCustomValue.
Please refer to the code Attachment for more details.
$("#comboIG").igCombo({ mode: "readonly", allowCustomValue: true, width: 302 }).click(function () { $("#treeContainer").slideToggle(); }); $("#comboigTreeContainer").igTree({ dataSource: data1, bindings: { textKey: "RegionName", valueKey: "ID", childDataProperty: "Countries", bindings: { textKey: "CountryName", valueKey: "ID" } }, nodeClick: function (evt, ui) { $("#comboIG").igCombo("text", ui.node.data.CountryName || ui.node.data.RegionName); } }); }); </script>
After further research this is considered to be a new Product Idea. At the moment instantiating fully functional igTree in igCombo is not supported. I would recommend you to log a feature request at http://ideas.infragistics.com and powered by UserVoice, the Product Ideas site allows you to suggest new product features, new functionalities in existing products and controls, and even request new controls and products altogether. Members of the Infragistics Community then vote for the features and suggestions they want to see added to the products, resulting in the most popular features bubbling up to the top. When planning new releases, our Product Management team will look at the most popular features and use your feedback to prioritize upcoming work.
Currently I am trying to create a sample using custom approach, and yet since the igCombo is not designed to operate with hierarchical data, it could prove quite difficult. I will update you in case of success.
Thank you for using Infragistics forums!