So I have replaced a dbgrid with a cDBCJGrid and its acting a little funny. First of all, its not auto filling until focus is received, and secondly when focus is received, its on a new row at the top. I haven't set any properties that should cause this, but I have traced down the inserting at top a bit. It's related to enteringgrid in cCJGrid.

So apparently what is occurring is that the grid is not auto filling for whatever reason, but then when it gets focus, it is trying to auto append a "first row" since it thinks the grid is empty (it is after all), but as part of this it does something which is filling the grid this time for some reason.

I guess the real issue is why my cDBCJGrid is not auto filling...but its odd that its getting filled on entering. There are no custom entry/entering procedures. Any suggestions?

OLIVER