Extend row on datagrid

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).
 
C

Cowboy \(Gregory A. Beamer\)

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

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