Home Forums WinForms controls Xceed Grid for WinForms Grid invalidation error Reply To: Grid invalidation error

User (Old forums)
Member
Post count: 23064

It turns out that the error comes from trying to assign the height of the row from within the CellManagerViewer code. What I want is for the row to fit the height of the tallest viewer (i.e., the cell with the most items). What is the best way to do that? I tried the AfterCollapse event, but that is fired before the CellManagerViewers are created. Assigning the AutoHeightMode property when creating the DetailGrid (detailGrid.DataRowTemplate.AutoHeightMode = AutoHeightMode.AllContent) doesn’t work either. Your suggestions would be more than welcome.

Best regards,

Aaron

Imported from legacy forums. Posted by Aaron (had 1502 views)