mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-18 08:35:52 +00:00
Add multiple sort criteria to select
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
data-sticky-header="true"
|
||||
data-sticky-header-offset-y="50"
|
||||
data-sortable="true"
|
||||
data-show-multi-sort="true"
|
||||
data-sort-priority='[{"sortName": "date", "sortOrder": "desc"},{"sortName": "time", "sortOrder": "desc"}]'
|
||||
data-search="true">
|
||||
<thead>
|
||||
<tr class="bg-primary text-white">
|
||||
|
@@ -15,6 +15,7 @@
|
||||
{{ super() }}
|
||||
<script src="https://unpkg.com/bootstrap-table@1.21.4/dist/bootstrap-table.min.js"></script>
|
||||
<script src="https://unpkg.com/bootstrap-table@1.21.4/dist/extensions/sticky-header/bootstrap-table-sticky-header.min.js"></script>
|
||||
<script src="https://unpkg.com/bootstrap-table@1.21.4/dist/extensions/multiple-sort/bootstrap-table-multiple-sort.js"></script>
|
||||
<script src="{{ url_for('static', filename="js/select.js") }}"></script>
|
||||
<script src="{{ url_for('static', filename="js/excelFiles.js") }}"></script>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user