Hello, I am generating some data on the fly (no database), which I would like to display using a controller / view. The data is organized as a list of dictionaries, like this:
headers = [ 'header1', 'header2' ]
data = [
{ 'col1' : 'valA', 'col2' : 'valB' },
{ 'col1' : 'valC', 'col2' : 'valD },
]
How can I code a controller to return an already prepared table for my view?
Thanks,
Daniel
--

