2 Replies Latest reply on May 14, 2013 3:00 PM by davidanders

    Display category name at the beginning of each section

    FrancescoCerofolini

      Title

      Display category name at the beginning of each section

      Post

           Hello everybody!

           i'd like to share with you my problem:

           i have this DB wich generate a flux of items displayed as a list. These items belongs to different categories. I know how to sort them, but i would like to put a "Category Label" when the displayed category change , without beginning a new page.

           the final result should be something like this

           PAGE1

           Category 1
           Item A (Belongs to category 1)
           Item B (Belongs to category 1)
           Item C (Belongs to category 1)
           Item D (Belongs to category 1)
           Item E (Belongs to category 1)
           Item F (Belongs to category 1)
           Item G (Belongs to category 1)

           PAGE 2

           Item H (Belongs to category 1)
           Item I (Belongs to category 1)
           Item L (Belongs to category 1)
           Item M (Belongs to category 1)
           Category 2
           Item N (Belongs to category 2)
           Item O (Belongs to category 2)
           Item P (Belongs to category 2)

            

           PAGE 3

           Item Q (Belongs to category 2)
           Item R (Belongs to category 2)
           Item S (Belongs to category 2)
           Item T (Belongs to category 2)
           Category 3
           Item U (Belongs to category 3)
           Item V (Belongs to category 3)
           Item Z (Belongs to category 3)
            
           can you help creating this kind of layout?
            
           thanks in advance for your help!!
            
           Cisco