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.

rows-cols-table.js 1.2KB

1234567891011121314151617181920212223242526
  1. document.addEventListener("DOMContentLoaded", function() {
  2. setTimeout(function(){
  3. var hot1, example=document.getElementById("scrolling");
  4. hot1=new Handsontable(example, {
  5. data: Handsontable.helper.createSpreadsheetData(100, 100), height: 400, colWidths: 50, rowHeights: 32, rowHeaders: !0, colHeaders: !0
  6. }
  7. );
  8. var hot, myData=Handsontable.helper.createSpreadsheetData(100, 50), container=document.getElementById("fixing");
  9. hot=new Handsontable(container, {
  10. data: myData, colWidths: [47, 47, 47, 47, 47, 47, 47, 47, 47, 47], rowHeaders: !0, colHeaders: !0, fixedRowsTop: 2, fixedColumnsLeft: 2
  11. }
  12. );
  13. var hot, container=document.getElementById("resizing");
  14. hot=new Handsontable(container, {
  15. data: Handsontable.helper.createSpreadsheetData(10, 10), rowHeaders: !0, colHeaders: !0, colWidths: [55, 80, 80, 80, 80, 80, 80], rowHeights: [50, 40, 100], manualColumnResize: !0, manualRowResize: !0
  16. }
  17. );
  18. var hot, moving=document.getElementById("moving");
  19. hot=new Handsontable(moving, {
  20. data: Handsontable.helper.createSpreadsheetData(100, 20), rowHeaders: !0, colHeaders: !0, manualColumnMove: !0, manualRowMove: !0
  21. }
  22. )
  23. },50);
  24. }
  25. );