Skip to content
Snippets Groups Projects
Commit a2a14011 authored by Carlos Vega's avatar Carlos Vega
Browse files

added scroll for long subject tables. keep the column filters at the top

parent 0077b28d
No related branches found
No related tags found
1 merge request!169Enhancement/subject table changes
......@@ -365,7 +365,6 @@ function createTable(params) {
columns: columns,
columnDefs: columnDefs,
order: [[0, 'desc']],
scrollX: true,
dom: dom_settings //see docs: https://datatables.net/reference/option/dom
});
......
......@@ -4,6 +4,11 @@
{% block styles %}
{{ block.super }}
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}">
<style type="text/css">
.box-body {
overflow-x: scroll;
}
</style>
{% endblock styles %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment