DataGrid Edit

G

Guest

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!
 
J

Jos

Jim said:
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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top