treeview inside a repeater

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ram09
    New Member
    • Oct 2008
    • 45

    treeview inside a repeater

    Im trying to implement a treeview with multiple columns and
    I need some suggestions if that is possible.. the treeview looks like this.

    <----Rootnodes----->
    +poscode1
    +poscode2
    +poscode3

    <--secondlevel nodes-->
    +poscode1
    -poscode2
    ___+street1
    ___+street2
    ___+street3
    +poscode3

    <--When the user expands a node it should look like this-->
    _______________ _______________ _______________ ___
    postal code | street | members name | members email
    _______________ _______________ _______________ ___
    +poscode1
    -poscode2
    ___________-street1
    _______________ ____name1______ __email1
    _______________ ____name2______ __email2
    _______________ ____name3______ __email3
    _______________ ____name4______ __email4
    ___________+str eet2
    ___________+str eet3
    +poscode3

    i'm trying to implement this in a repeater but first i'm also trying
    to find out if this is possible with a treeview..
    I appreciate any suggestions.. tnx in advance..
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    I have never seen multiple columns like that in a tree view. I suppose you could do some fancy string manipulation where you combine bits of data but unless you use a fixed-width font for the treeview it will be tough to get the columns to align

    What about changing the organization of your data to work with the node structure?
    +POScode
    _____- Address details
    __________- Street
    __________- City
    __________- State
    _____- Customer details
    __________- Name
    __________- Email
    __________- Phone

    Comment

    • ram09
      New Member
      • Oct 2008
      • 45

      #3
      thanks for the quick reply sir..
      Im still trying to find a fix for this.. and I will also try your suggestion, thanks again...

      Comment

      Working...