Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit c88bf36

Browse files
committed
Correct withScroller showcase
1 parent 0d6bb88 commit c88bf36

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

demo/withPlugins/withScroller.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ <h1><i class="fa fa-play"></i>&nbsp;With the DataTables <a href="http://datatabl
4545
function WithScrollerCtrl(DTOptionsBuilder, DTColumnBuilder) {
4646
var vm = this;
4747
vm.dtOptions = DTOptionsBuilder.fromSource('data.json')
48+
.withDOM('lfrti')
4849
.withScroller()
4950
.withOption('deferRender', true)
5051
// Do not forget to add the scorllY option!!!

demo/withPlugins/withScroller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ angular.module('showcase.withScroller', ['datatables', 'datatables.scroller'])
55
function WithScrollerCtrl(DTOptionsBuilder, DTColumnBuilder) {
66
var vm = this;
77
vm.dtOptions = DTOptionsBuilder.fromSource('data.json')
8+
.withDOM('lfrti')
89
.withScroller()
910
.withOption('deferRender', true)
1011
// Do not forget to add the scorllY option!!!

0 commit comments

Comments
 (0)