Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Defer datatable render #129

Merged
merged 1 commit into from
Apr 9, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions track/static/js/tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ var Tables = {

// add common options to all renderTables requests
if (!options.responsive) options.responsive = true;

// Older browsers need this to load in an acceptable time frame. We may want to make it conditional in the future
if (!options.deferRender) options.deferRender = true;

var customInit = function() {}; // noop
if (options.initComplete) customInit = options.initComplete;
Expand Down