{% extends "lizard_ui/lizardbase.html" %} {% block title %}Table content{% endblock %} {% block content %}
To get a sortable table, make sure the table is nice and valid html with a proper "thead" and "tbody". And add a class "sortable-table" to it.
If you add a table on the fly, you'll have to call
setUpSortableTables()
.
Area | Size | Color |
---|---|---|
Utrecht | 120.4 | Red |
Gelderland | 400 | Blue |
Overijssel | 80.56 | Orange |