listView with multiline columnHeader

  • Thread starter Thread starter touf
  • Start date Start date
T

touf

Hi,
ca we have a listView with 2 header lines
eg: | country1 | country2 |...
|-----------|---------------------|---
|city1|city2 |city3|city4|city5|city6|...
Thanks
 
Sure, but you will need to concatenate the strings for city1 and city2 and
city3,4,5 and add the first set as ListViewItem and the second set as
ListviewSubItem.

Make sure the Listview View property is set to details.

Just define the Column in the Designer

HTH,

Bill
 
Hi, thanks for your answer
but didn't understand, What I need is to have 2 lines in the header not in
the data
another example

2002 2003
period1 period2 period3 period1 period2 period3 period4
product1 100 150 100 120 130 110 100
product2 50 52 49 60 20 30 25
product3 1000 1000 1200 1200 1100 1200 1200
 
Back
Top