enveetee
2014-11-27T20:54:37Z
Hi again

About 25 of my forms contain iGrid and they now all work fine, except one.

It is exhibiting strange behaviour

After I have populated the Grid and all results are displayed, if I move another form over the display area, it erases the visible part of the grid! If I move the scroll bar up or down, the contents of the grid reappear

Any ideas please

Cheers
Igor/10Tec
2014-11-28T07:15:48Z
We need a sample we can launch on our dev pc to reproduce the problem. Can you prepare and send us one?

One more thought: is this problem grid enclosed in another control container (a TabControl, etc)?

The fact is that sometimes other control containers prevent iGrid from being redrawn properly. If so, try to place iGrid outside of the container to see whether it helps to solve the problem.
enveetee
2014-11-29T09:13:23Z
OK, replying to my own question here...

BeginUpdate and EndUpdate seems to be need to work in pairs. If you call Endupdate without BeginUpdate the rendering of the grid does not persist...


..so

This works fine
Add columns
BeginUpdate
Addrows
EndUpdate


This causes issues (as you might expect)
Add columns

Addrows
EndUpdate



Nigel