Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1440
Getting Exception sometimes when setting row.Fixed = true
posted

Hi,

This is happening when I ungroup a column (in UI) and pin a row (in code) in AfterSortChange event.

Any ideas to avoid this? Thanks! 

Message: System.ArgumentException: Row must be from the associated RowsCollection.
Parameter name: row
   at Infragistics.Win.UltraWinGrid.FixedRowsCollection.ValidateRow(UltraGridRow row)
   at Infragistics.Win.UltraWinGrid.FixedRowsCollection.Insert(Int32 index, UltraGridRow row)
   at Infragistics.Win.UltraWinGrid.FixedRowsCollection.Add(UltraGridRow row, Boolean top)
   at Infragistics.Win.UltraWinGrid.UltraGridRow.set_Fixed(Boolean value)