Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

scroller-custom.js 779B

1234567891011121314151617181920212223242526272829
  1. $(document).ready(function() {
  2. setTimeout(function(){
  3. $('#basic-scroller').DataTable({
  4. ajax: "dt-json-data/2500.txt",
  5. deferRender: true,
  6. scrollY: 200,
  7. scrollCollapse: true,
  8. scroller: true
  9. });
  10. $('#state-scroller').DataTable({
  11. ajax: "dt-json-data/2500.txt",
  12. deferRender: true,
  13. scrollY: 200,
  14. scrollCollapse: true,
  15. scroller: true,
  16. stateSave: true
  17. });
  18. $('#api-scroller').DataTable({
  19. ajax: "dt-json-data/2500.txt",
  20. deferRender: true,
  21. scrollY: 200,
  22. scrollCollapse: true,
  23. scroller: true,
  24. initComplete: function() {
  25. this.api().row(1000).scrollTo();
  26. }
  27. });
  28. },350);
  29. });