Hi,
I am using the igTreeGrid from Infragistics 16.1. In my app, there are times where a child will be in the dataset, but not it's parent. In this scenario, the child does not appear in the igTreeGrid.
Is it possible to have the igTreeGrid display a child row even if the parent row is not the list?
Thanks for your help. Tory.
Hello Tory,
In order to ensure that I will provide you with better and more accurate support I will need some additional information regarding your scenario.
A small isolated sample with a mock up data source illustrating the structure of your original data source is going to be highly appreciated and will help me get better understanding of your scenario. Please provide all the information that you consider relevant as well as steps to reproduce (if needed).
Looking forward to hearing from you.
Hi Vasya,
I have attached a small sample. There are 4 employees, but only 3 show up. Ryder Zenaida does not appear because there is no supervisor w/ Id 55 in the list.
Is there an option where I can force the igTreeGrid to display all item, even if the parent is not in the list?
Thanks. Tory.
Thank you for providing me your sample.
IgTree grid does not provide the ability to show children which parents are not in the underlying data source.
In case that you want to handle complex objects in the data source and your original data is not hierarchical my suggestion is using mapper column option. This option is applicable only for columns wit type = "object". This is function that can be used for complex data extraction from the data records, whose return value will be used for all data operations associated with this column. A working sample demonstrating how column complex objects could be handled using mapper could be found at the following link:
http://www.igniteui.com/grid/handling-complex-objects
Please let me know if you need any further assistance with this matter.
Perfect. Thanks Vasya!
Hello Troy,
I am glad that you find my information helpful.
Thank you for using Infragistics components.