Add Lines to ListView

  • Thread starter Thread starter DavidC
  • Start date Start date
D

DavidC

I have a ListView that I would like to add a blank row based on a condition
of a column change in the data. I looked at the Grouping but all I could
find was a way to group print a heading row and I wanted to create a footing
row at the end of a group of items. Is that possible in grouping? If not,
how would I add a blank row during ItemDatabound event? Thanks.
 
Did you ever get an answer to this? I am currently trying to do the same thing. I want to add a blank row and a header row conditionally to a Listview. The Grouping appears to be data-driven and by item count. This is not helpful for my situation. If you have found a solution to this, please let me know.

Thanks,

Scott
 
I have a ListView that I would like to add a blank row based on a condition
of a column change in the data.  I looked at the Grouping but all I could
find was a way to group print a heading row and I wanted to create a footing
row at the end of a group of items.  Is that possible in grouping?  If not,
how would I add a blank row during ItemDatabound event?  Thanks.

Maybe you can use a ListView control inside a Repeater or something
like this? In this case you may "group" your data by using different
ListViews.
 

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

Similar Threads

Hide column in ListView 1
Change ListView row background 1
ListView Insert 4
Change ListView row background color 1
Nested ListView 6
ListView Group Expansion 1
ListView control 4
Listview Totals 1

Back
Top