Add blank row to datagrid

B

Big Dave

Good morning. This seems like it should be easy, but I can't figure it
out. I have a datagrid bound to a dataset. There is a select button
column on the datagrid. When the user clicks the select button, I would
like to insert a blank row right after that record to show more details
about it. Then, when they select another row, I'd like for the details
to move to under that row.

Anybody have any thoughts on how this would work?

Big Dave
 
Y

Yunus Emre ALPÖZEN

I advice you to add another listbound control. On select command fill data
with listbound control that just added.
If you want to display for just one row. You can use edit template. Add a
new row to your datasource and set edit item index to show that row. In Edit
Template place a literal control or something that is suitable for you.
Or you can use another listbound control like repeater instead of using
datagrid...
 

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

Forum statistics

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

Latest Threads

Top