Extend row on datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Im using a datagrid object to view data,
Is it possible to extend selected row and show other details at the extended
part
of the row?
If the answer is Y: Is it part of the datagrid's capabilities?
(asp.net 2003).
 
There are two ways to tackle this type of issue.

1. Extend the DataSet programatically before binding. This works as long as
you have the DataGrid set to auto create columns.

2. Extend the Grid. This is easiest done with the events for binding a row.
Write code to add the cell each time a row is written.

3. Or a combination of both. Add the extra column to a non auto grid and
then add to the data.

As for question 2: It depends on what you call capabilities. You can add
columns programatically as part of its capabilities, but you will have to
supply data. The events are part of the capabilities. But, if you mean can
you automagically name a column and start filling without coding, that is
not part of the capailities.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
 
Back
Top