Unconventional Data Grid where columns and rows don't differ

I believe we’re on the same page. I pretty much want to use the Data Grid feature unconventionally where the column and row labels are independent of the data that gets inserted into the cells. The data is uniform in that the sub-lists (or sub-dicts as I’ve now implemented based on your suggestion) always have the same keys with just different values depending on what the user wants to pull from our MongoDB. I just want to insert it sequentially so that each sub-dict goes in each cell without the columns or rows having specific bindings since the amount of populated cells/which cells are populated can vary.

Eg. If the user pulls a collection of 13 documents, I turn each document into a dictionary, and then I would like the grid to be as such:


Though the order of population doesn’t matter as it can go vertically then horizontally, or horizontally then vertically.

1 Like