Click here to Skip to main content
15,899,026 members

Comments by martonthenagy (Top 2 by date)

martonthenagy 15-May-20 11:47am View    
True. Maybe someone else will find it useful. As I found the linked answer today, which was helpful, despite it is 8 years old too.
martonthenagy 24-Aug-13 7:44am View    
The exception tells what is the exact problem.
Allowed: Frozen, Frozen, Frozen, Unfrozen, Unfrozen
Not allowed: Frozen, Frozen, Unfrozen, Unfrozen, Frozen

If you add a column, it should became the last.
So if your grid contains frozen and unfrozen columns too, you can only add unfrozen column. After adding you can set its DisplayIndex, and after it you can set it to Frozen.

Maybe the DisplayIndex property takes effect place immediately, so you must set it up, before adding the column.