Nested display for each row in datasource - InfoPath Dev
in

InfoPath Dev

Nested display for each row in datasource

Last post 05-20-2010 11:39 AM by Acrum. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 05-18-2010 11:39 AM

    • Acrum
    • Not Ranked
    • Joined on 05-18-2010
    • Posts 4

    Nested display for each row in datasource

    I am trying to create a display that lists items in a list with checkboxes. For each item (row) in that list, there could be 0-x additional rows of data related to the item I want displayed on subsequent rows. For instance, I can have Car Manufacturers at the top level, then pros and cons at the second level. I want a list of car manufacturer with a check box next to each one. When I check the box, I want the pros and cons specific to the car manufacture selected to unhide and show a side by side list of the pros and cons.

    For instance, the initial display would be

    Car Manufacturer 1

    Car Manufacturer 2

    Car Manufacturer 3

    Then if I click the checkbox nexst to Car Manufacturer 2, it would look like ..

    Car Manufacturer 1

    Car Manufacturer 2

    Pro 1         Con 1

    Pro 2         Con 2

    Pro 3

    Pro 4

    Car Manufacturer 3

    So the info that hides based on the checkbox is related to the item in the checkbox - i.e. pros and cons for car manufacture 1 are different than that for car manufacturer 2 and so on. I'm new to this and going crazy trying to duplicate the presentation in an asp page that does the same thing.

    Any ideas I'm really trying to first get the data to lay out right on the form, not worried about hiding the info based on the checkbox, I can do that...

     

  • 05-18-2010 11:51 AM In reply to

    • Acrum
    • Not Ranked
    • Joined on 05-18-2010
    • Posts 4

    Re: Nested display for each row in datasource

    Also, just in case it is not clear, I want the list to be populated dynamically, so as rows are added to the databse, the form will automatically pick up any updates or changes. I can hard code this but there are too many items and the data changes that I dont want the maintenance nightmare.

     

  • 05-18-2010 11:54 PM In reply to

    Re: Nested display for each row in datasource

    well create seperate section for all the cars then based on which checkbox is checked show the relevant section..

    on each section have a conditional formatting

    if relevant_checkbox is not equal to 1

    hide this section

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 05-19-2010 05:42 AM In reply to

    • Acrum
    • Not Ranked
    • Joined on 05-18-2010
    • Posts 4

    Re: Nested display for each row in datasource

    I dont know how many cars there will be so I cant create a separate section for each car unless I'm not understanding what you are saying. I'm usings a multi selection listbox to display the cars, but there is no way to get the section for the pros and cons in between rows. What else can I provide to you or does that make sense?

  • 05-19-2010 06:02 AM In reply to

    Re: Nested display for each row in datasource

    can u attach your template, so that i can have a look at it.. to attach the template

    reply -> options -> add/update

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 05-20-2010 11:39 AM In reply to

    • Acrum
    • Not Ranked
    • Joined on 05-18-2010
    • Posts 4

    Re: Nested display for each row in datasource

    Here you go - thanks!

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.