Home Forums WinForms controls Xceed Grid for WinForms DetailGridTemplate Reply To: DetailGridTemplate

User (Old forums)
Member
Post count: 23064

Thanks, the second method is what I ended up with.  I was handlig the Initialize detail grid event as well but found it to be to slow to process all the detail grids at once.  Instead I am now using the colapsechange event and dealing with them when they are shown, this works well since they may or may not expand them all.

For each of the detail grids I simply create the databound column for only what I want shown, set the properties once(instead of each time as in using the initialize event) and save it as the template.

 

The template concept was new to me comming from teh MS grid but now it is starting to make more sense. Creating the columns and setting the properties for teh template is much faster tahn doint it for each detail grid in teh initalize event.

 

Thanks for the reply.

Imported from legacy forums. Posted by Brian (had 994 views)