Repository navigation
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 |
Answered by
steelliberty
Sep 12, 2023
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 |
1 reply
|
Then probably the string of the title gets indexed. Try the example and see exactly what is used there as data. Does that help? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi -- I saw that Titles requires list of tuples [('title','alt-title'),()...] Once i figured that out it worked.
Thank you for the help.