I have a tree with 3-levels like this.
Item A
------ Item B
- item i
- item j
------ Item C
- item x
- item y
....
when I click item A, all items are selected well.
and when I click item B, item i, j, and item A are selected.
But the problem is, item A is not selected when I click item i which is the leaf node.
Selection is not propagated to the top node if I click the leaf node.
My XamGrid SelectionSettings are like this.
<ig:XamGrid.SelectionSettings> <ig:SelectionSettings CellClickAction="SelectRow" RowSelection="Multiple" /></ig:XamGrid.SelectionSettings>
Is there any options to allow the propagation in a selectionsettings?
Thank you in advance.
Hello Wonkyung,
Thank you for posting in Infragistics forum.
I have created a sample of XamGrid and set CellClickAction="SelectRow" and RowSelection="Multiple" to enable row selection, but I’m not able to see the behavior you described. I see selection does not propagate to either parent rows or child rows by default.
Can you please run the attached sample on your PC and see if it reproduces your problem?3644.WpfApplication1.zip
Thank you for reply.
I run the sample and it seems like there's no checkbox.
Mine has the checkbox on each item and I meant the checkbox does not propagate when I check the leaf item.
Also, I'm using the Infragistics version 14.
XamGrid does not provide the functionality that propagates selection out of box.If you are seeing some kind of propagation in your XamGrid, that is probably implemented in your custom code.You may want to check your logic and see how you propagate the selection to the parent rows, and apply the same logic to the leaf node as well.