Data Grid

M

Mike TI

July 3, 2007

Hi all

I want to create a data entry screen for entering something in columns like
an Invoice. The rows should be flexible to accomodate any number of lines of
text and expand immediately on entering a new line (something like you have
in Quicken Invoice Data Entry).

Can someone guide me to a good data grid that will do this for me.

Thank you in advance.

Mike TI
 
M

mark.milley

Hi Mike -

For the level of complexity that you desire, you may want to instead
take the following approach:

a) create a UserControl that represents one record of your table, that
allows the flexibility that you require.

b) add these rows dynamically to a FlowLayoutPanel that will represent
your table.

That should get you going in the right direction... I'll leave the
investigation and learning up to you! :)

Good Luck,

-Mark
 
C

Cor Ligthert [MVP]

Mike,

Mostly two datagrids does this already fine,
One for your invoiceheader rows
One for your invoice detail rows

You use the relation between those two in a way that on a change in the
header rows, the related detailrows will be loaded in the detailrows grid.

On our website are enough examples for that.

http://www.vb-tips.com/default.aspx

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top