Thank you for writing back.
received as an event argument is the active view of the template and it successfully best fits its columns. I am assuming that you are having multiple views on one level.
In a scenario in which there are more than one views you can best fit them this way:
sender, ChildViewExpandedEventArgs e)
GridViewHierarchyRowInfo parent = e.ParentRow
Abba, perhaps you are having the same scenario. Can you try accessing the views as per my suggestion above? Please also do not forget to set the EnableFiltering
property of your templates to true
Alternatively, you can always access the view templates while you are creating them or at a later stage: Accessing Child Templates
. I am also attaching a short video showing the result on my end.
I hope this helps. Should you have further questions please do not hesitate to write back.
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post
and share your thoughts.