Example of building a table with bootstrap (4or5) that defines what "data" looks like? #315
-
I have not been able to find an example using render_table(data) that provides a description or even a look at the data structure. Does anyone have a reference to "building a table with bootstrap-flask? Thank you, JM |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Do you mean https://github.com/helloflask/bootstrap-flask/blob/master/examples/bootstrap5/templates/table.html#L47 ? An example is Table without SQLAlchemy at the bottom of http://109.205.179.12/table |
Beta Was this translation helpful? Give feedback.
-
Then probably the string of the title gets indexed. Try the example and see exactly what is used there as data. Does that help? |
Beta Was this translation helpful? Give feedback.
Hi -- I saw that Titles requires list of tuples [('title','alt-title'),()...] Once i figured that out it worked.
Thank you for the help.