Link to home
Start Free TrialLog in
Avatar of chrisbray
chrisbrayFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How can I create a Quicken style Grid?

I wish to create a grid similar to those used in Quicken or QuickBooks which has a single record displayed over two rows of the grid.

Anyone got any ideas?

Chris Bray.
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

I dont know how the Grid you refered look like, but it will not be better than one of these ;-)

http://www.tmssoftware.com/gridpack.htm
http://www.devexpress.com/Products/VCL/ExQuantumGrid
ASKER CERTIFIED SOLUTION
Avatar of geobul
geobul

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chrisbray

ASKER

Thanks for your responses:

mnasman:  Neither of these grids supports multiple line grids for a single record...

geobul: I have had a quick look at the component you recommend.  This seems very memory hungry compared to a normal grid.  Given that there could be hundreds or thousands of items in the grid, that number of windowed controls could quickly become a problem - or is there some way around that problem?

Chris Bray.
Avatar of geobul
geobul

Hi,

I've tested DBGrid and DBCtrlGrid against a table containing 75000 records (four DBEdits and one DBMemo on the grid) and found no difference in memory usage. TADOTable (clUseClient), TDataSource and one grid. Showing 5, 20 and 100 rows visible at a time - no difference again.

Regards, Geo
Hi Geo,

That is certainly interesting.  I will make further investigations.

Chris Bray.
Hi Geo,

Having investigated, try as  I might I cannot make the DBCtrlGrid look like a normal grid.  It is therefore unsuitable for my needs unless you can point me in the right direction for changing the look...

Any other suggestions?

Chris Bray.
Hi Geo,

I have experimented a lot more with the DBCtrlGrid, and have managed to get something near where I want to go - but not exactly.  I am still looking for a better solution, but want to be fair and you did take the trouble to answer.

I have given you the points because you did mention the DBCtrlGrid, but have given your suggestion a B grade rather than an A because the answer was incomplete.  I hope that you find that fair and acceptable.

Chris Bray.
Sure. Thanks for the points :-) Perhaps you're looking for a grid with some kind of automatic wrapping functionality but unfortunately I don't know any.

Regards, Geo
Hi Geo,

Yes indeed, a grid that operates over more than one row is exactly what I am trying to achieve.

Chris Bray.