mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Fix tables (#1963)
This commit is contained in:
parent
50045b9796
commit
b57e79a557
5 changed files with 8 additions and 5 deletions
|
@ -213,7 +213,9 @@ function initLoadFromRepositoryTable(content) {
|
|||
|
||||
var datatable = tableEl.DataTable({
|
||||
order: [[1, 'asc']],
|
||||
dom: 'RBfltpi',
|
||||
dom: "RBfl<'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
|
||||
sScrollX: '100%',
|
||||
sScrollXInner: '100%',
|
||||
buttons: [],
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
|
|
|
@ -625,7 +625,7 @@
|
|||
function dataTableInit() {
|
||||
var TABLE_ID = '#projects-overview-table';
|
||||
TABLE = $(TABLE_ID).DataTable({
|
||||
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>>tpi",
|
||||
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>><'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
|
||||
stateSave: true,
|
||||
stateDuration: 0,
|
||||
processing: true,
|
||||
|
|
|
@ -28,8 +28,10 @@ function initProtocolsTable() {
|
|||
|
||||
protocolsDatatable = protocolsTableEl.DataTable({
|
||||
order: [[1, "asc"]],
|
||||
dom: "RBfltpi",
|
||||
dom: "RBfl<'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
|
||||
stateSave: true,
|
||||
sScrollX: '100%',
|
||||
sScrollXInner: '100%',
|
||||
buttons: [],
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
|
|
|
@ -55,7 +55,7 @@ var RepositoryDatatable = (function(global) {
|
|||
originalHeader = $(TABLE_ID + ' thead').children().clone();
|
||||
viewAssigned = 'assigned';
|
||||
TABLE = $(TABLE_ID).DataTable({
|
||||
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>>tpi",
|
||||
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>><'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
|
||||
stateSave: true,
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
|
|
|
@ -89,7 +89,6 @@
|
|||
function initUsersTable() {
|
||||
usersDatatable = $('#users-table').DataTable({
|
||||
order: [[1, 'asc']],
|
||||
dom: 'RBfltpi',
|
||||
stateSave: true,
|
||||
buttons: [],
|
||||
processing: true,
|
||||
|
|
Loading…
Reference in a new issue