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.
 
Back
Top