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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Strange behavior GridCtrl. May be a bug?
Strange behavior GridCtrl. May be a bug? [message #39947] Wed, 15 May 2013 14:25 Go to next message
borbek is currently offline  borbek
Messages: 31
Registered: November 2010
Location: Russia
Member
Hi!

May be a bug?

After the second .Reset() and .AddColumn() (in example - check/uncheck Option), the columns sizes are set in some strange way ...

Example attached.

  • Attachment: test_gc.cpp
    (Size: 0.71KB, Downloaded 363 times)
Re: Strange behavior GridCtrl. May be a bug? [message #39950 is a reply to message #39947] Wed, 15 May 2013 15:48 Go to previous messageGo to next message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

I wrote this many times (result of poor docs Smile) When grid is displayed and you start removing and adding columns in proportional mode (the default one) you need to wrap these operations into grid.Ready(false) and grid.Ready(true).
Re: Strange behavior GridCtrl. May be a bug? [message #39952 is a reply to message #39950] Wed, 15 May 2013 16:20 Go to previous message
borbek is currently offline  borbek
Messages: 31
Registered: November 2010
Location: Russia
Member
Thank you very much!
Previous Topic: pagination base ArrayCtrl
Next Topic: [bug?] GridCtrl
Goto Forum:
  


Current Time: Sat Apr 25 14:12:46 GMT+2 2026

Total time taken to generate the page: 0.00392 seconds