tryexceptpass / sofi

an OS agnostic UI module for Python
MIT License
387 stars 49 forks source link

data table example #95

Open giodegas opened 5 years ago

giodegas commented 5 years ago

I would like to see how this library works with data tables, represented by a list of dictionaries, like:

data = [{'name':'John', 'last name':'Doe, 'DOB':'01/01/1990'},
        {'name':'Mike', 'last name':'Smith, 'DOB':'02/02/1992'}]

then I would like have:

my_table = DataTable(columns=['name','last name','DOB'], data=data)

I did not find any example like it.

Could it be possible? Any roadmap to cover this need?