Data Grid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike TI

    #1

    Data Grid

    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




  • mark.milley@binaryswitch.com

    #2
    Re: Data Grid

    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

    Comment

    • Cor Ligthert [MVP]

      #3
      Re: Data Grid

      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.



      Cor


      "Mike TI" <sunsetaaa@hotm ail.comschreef in bericht
      news:efx6x9XvHH A.3356@TK2MSFTN GP03.phx.gbl...
      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
      >
      >
      >
      >

      Comment

      Working...