SQLA Flask Demo: Display planets database query results into a JQuery Datatable

Опубликовано: 28 Сентябрь 2024
на канале: Thomas Blum
30
1

In this video we add to a previous video which displayed the results of a SQLA query in an HTML table. Here we put links to two JavaScript CDNs (content delivery networks) -- one for jQuery (code.jquery.com) and one for a datable (cdn.datatables.net) that uses jQuery. A few lines of JavaScript code added to the layout yields a table that has pagination (though the example is too small to demonstrate this), sort-ability, and searchability.