This is a migrated thread and some comments may be shown as answers.

AutoGenerateHierarchy in GridView

1 Answer 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Erion
Top achievements
Rank 1
Erion asked on 15 Sep 2011, 09:48 PM
Hi, 

I want to use AutoGenerateHierarchy, but I am having a hard time, telling the grid to not show certain columns. I added child templates with the name in the properties of the object being displayed, and marking these columns as not visible, but these templates just get ignored. 

How can I control what which columns get displayed when using AutoGenerateHierarchy ? 

thanks. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 16 Sep 2011, 07:19 AM
Hello Erion,

Please handle the DataBindingComplete event, check for the templates being loaded there and if everything is loaded, customize everything in that event.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga

Telerik WinForms MVP
Tags
GridView
Asked by
Erion
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Share this question
or