removed duplicate, fixed entries, more columns for html
This commit is contained in:
@ -12,12 +12,15 @@
|
||||
</div>
|
||||
<script>
|
||||
var dataTable = new DataTable("table", {
|
||||
perPage: 50,
|
||||
perPageSelect: [20, 50, 100],
|
||||
fixedHeigt: true,
|
||||
perPage: 20,
|
||||
perPageSelect: [10, 20, 50],
|
||||
fixedHeight: true,
|
||||
ajax: "data.json",
|
||||
footer: true
|
||||
});
|
||||
dataTable.on('datatable.init', function(args) {
|
||||
dataTable.columns().sort(1);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user