DataGrid Edit

Discussion in 'ASP .Net' started by =?Utf-8?B?SmltIEhlYXZleQ==?=, Oct 3, 2004.

  1. Suppose you had a Data Grid which had 7 columns in the normal mode. but when
    you selected "edit" mode you wanted 6 columns to appear on line 1 and the 7th
    column to appear on Line 2 under column 6. Is there a way to do this with
    the DataGrid, or is the only way to do this is to used the DataList?

    Thanks in advance for your assistance!
     
    =?Utf-8?B?SmltIEhlYXZleQ==?=, Oct 3, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?SmltIEhlYXZleQ==?=

    Jos Guest

    Jim Heavey wrote:
    > Suppose you had a Data Grid which had 7 columns in the normal mode.
    > but when you selected "edit" mode you wanted 6 columns to appear on
    > line 1 and the 7th column to appear on Line 2 under column 6. Is
    > there a way to do this with the DataGrid, or is the only way to do
    > this is to used the DataList?
    >
    > Thanks in advance for your assistance!


    Typically, this would be done with a DataList.

    To do it with a DataGrid, there are two ways I can think of:
    1) on edit, manipulate the data source (datatable) by
    inserting an extra row. Not easy.
    2) use an "edit" panel *outside* the data grid.

    --

    Jos
     
    Jos, Oct 4, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. San Diego Guy
    Replies:
    0
    Views:
    582
    San Diego Guy
    Aug 7, 2003
  2. Schultz
    Replies:
    3
    Views:
    597
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Feb 14, 2005
  3. Andreas Klemt
    Replies:
    0
    Views:
    334
    Andreas Klemt
    Oct 8, 2003
  4. Sharon McCarty
    Replies:
    0
    Views:
    280
    Sharon McCarty
    Nov 24, 2004
  5. Frank Kurka
    Replies:
    8
    Views:
    343
Loading...

Share This Page