Hi.
After I add a new record to my DataSet (using a form) I get this:
http://img7.imageshack.us/img7/534/case1lx.jpg
A free space is created and I must click each cell to see the data. But even then I get this when trying to export those data:
http://img843.imageshack.us/img843/2963/case2l.jpg
Last row duplicates itself 6-7 times.. How to fix this?
Using TDBAdvGrid, C++ Builder 2010, Win7 x64.
Can you try to set grid.DataSetType = dtNonSequenced?
Setting grid.DataSetType to dsNonSequenced gives other scrolling problems. And the scrollbar is only limited to three positions and many customers have complained about that in the past.
I now noticed what goes wrong: if I enable the search footer bar, and I
press (in the scrollbar the button down at the bottom of the scrollbar),
the row moves to the line that is hidden below the search footer. It
then immediatly scrolls one line up to prevent hiding the selected row,
and then then a empty row is painted above the selected row. If I then
click ont the empty cells, they are repainted.
We have
retested this with our latest version but we could not see such problem here.
Could you
please provide some sample source project ( by email) with which we can reproduce this here
?
I had a similar problem with this grid. When I deleted a record, the grid would not always be updated. The solution was to refresh the dataset - and since I used a TQuery, this involved doing a Close() and then Open() on the TQuery object.
If you use these type of operations, you might have to set TDBAdvGrid.RefreshOnInsert /RefreshOnDelete = true