U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » HeaderCtrl crashes on serialization
HeaderCtrl crashes on serialization [message #23719] Tue, 17 November 2009 10:51 Go to previous message
zsolt is currently offline  zsolt
Messages: 705
Registered: December 2005
Location: Budapest, Hungary
Contributor
HeaderCtrl serialization is buggy when adding or removing columns.
When you remove a column, it tries to set non existing columns.

On the other side, if you add new columns, but not at the end of the list, the newly loaded setup is absolutely messy. It would be better to fall back to default setup in this case, I think.

I changed the code to load states only when number of coluns aren't changed.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem in DropGrid
Next Topic: Array Hide/Show Column Menu demonstration
Goto Forum:
  


Current Time: Sun Aug 30 00:13:03 GMT+2 2026

Total time taken to generate the page: 0.00672 seconds