I have a list of strings.
I am using these strings to populate three other object lists by querying for this string.
For every iteration I am adding the lists populated to a List of lists. Ex: First populate a case list where field__c = string[i], once populated add this list to a List<List<Case>>.
How should I relate these lists to each other so that I can display the information in datatable with columns that have datatables?
For example:
DATATABLE[
- Column 1: String[i]
- Column 2: DATATABLE [ listOfList1[i].list1 ]
- Column 3: DATATABLE [ listOfList2[i].list2 ]
]
I understand how to use to display list of list information in a datatable, but apex:repeat iterates through all of the lists in the listOfList.
I believe the solution lies in relating or mapping these lists, but I am unable conceptualize how that would work.
UPDATE:
I'm still stuck, but created a generic container object that I can store all of these lists/variables in and created a list for the generic object, but still unsure of how to output the variables within that object onto the VFP, particularly the lists.