Expand my Community achievements bar.

master details tables and no xml data source

Avatar

Level 1

Hello

I want to create mater - details tables where details table will be repeated for each master row.

So i created master table and placed detail table into master table cell.

so what i want to have

product1 quantity

                          - item1

                          - item2

product2 quantity

                          - item3

                          - item3

for now i have

product1 quantity

                         - item1

                         - item2

                         - item3

                         - item3

product2 quantity

here is how i fill the table

for i in 1..5 do

        [

            ("Cell1r", "quantity" + i.ToString())

            ("Cell2r", "product" + i.ToString())           

        ] |>p

   

        for j in 1..2 do

                [                   

                    ("Cell11", "product" + i.ToString())

                    ("Cell21", "serial" + j.ToString())

                    ("Cell31", "function" + j.ToString())

                ]|>p

i found an axample how to do it from xml data sourcem but have no idea and did not find how  to do it manualy(when i bing by name from code dynamicaly)

master-details table.JPG

3 Replies