Skip to content

Instantly share code, notes, and snippets.

@t9toqwerty
Created September 7, 2017 06:31
Show Gist options
  • Save t9toqwerty/08c07fe3f3055492a5bf33dde8fc6e35 to your computer and use it in GitHub Desktop.
Save t9toqwerty/08c07fe3f3055492a5bf33dde8fc6e35 to your computer and use it in GitHub Desktop.
this.$nextTick(function () {
if (_.isObject(this.summaryTable)) {
this.summaryTable.destroy();
}
this.summaryTable =
$("#retailer-retention-table").DataTable({
searching: false,
ordering: false,
info: false,
scrollY: "350px",
scrollX: true,
//retrieve: true,
//scrollCollapse: true,
paging: false,
fixedColumns: {
leftColumns: 1,
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment