Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl::Reset does not reset.
Re: GridCtrl::Reset does not reset. [message #25707 is a reply to message #25703] |
Mon, 08 March 2010 22:00  |
|
Reset works fine. I wrote about this column problem many times here (this means I have to redesign it as it's not intuitive ).
Just put all your AddColumns between following method calls:
grid.Ready(false);
grid.AddColumn(...);
grid.AddColumn(...);
grid.Ready(true);
This display mess happens only in proportional mode and only if grid is visible on the screen. It is so because each AddColumn recalculates columns proportions being not aware of next AddColumn calls. I'll put this issue on my todo list.
|
|
|
Goto Forum:
Current Time: Tue Aug 26 00:07:34 CEST 2025
Total time taken to generate the page: 0.05882 seconds
|