Dashboard sipadu mbip
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

appearance-table.js 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. document.addEventListener("DOMContentLoaded", function() {
  2. var hot, container = document.getElementById("borders");
  3. hot = Handsontable(container, {
  4. data: Handsontable.helper.createSpreadsheetData(70, 20),
  5. rowHeaders: !0,
  6. fixedColumnsLeft: 2,
  7. fixedRowsTop: 2,
  8. colHeaders: !0,
  9. customBorders: [{
  10. range: {
  11. from: {
  12. row: 1,
  13. col: 1
  14. },
  15. to: {
  16. row: 3,
  17. col: 4
  18. }
  19. },
  20. top: {
  21. width: 2,
  22. color: "#5292F7"
  23. },
  24. left: {
  25. width: 2,
  26. color: "orange"
  27. },
  28. bottom: {
  29. width: 2,
  30. color: "red"
  31. },
  32. right: {
  33. width: 2,
  34. color: "magenta"
  35. }
  36. }, {
  37. row: 2,
  38. col: 2,
  39. left: {
  40. width: 2,
  41. color: "red"
  42. },
  43. right: {
  44. width: 1,
  45. color: "green"
  46. }
  47. }]
  48. });
  49. var hot, data = [
  50. ["", "Kia", "Nissan", "Toyota", "Honda"],
  51. ["2013", 10, 11, 12, 13],
  52. ["2014", 20, 11, 14, 13],
  53. ["2015", 30, 15, 12, 13]
  54. ],
  55. container = document.getElementById("highlighting");
  56. hot = Handsontable(container, {
  57. data: data,
  58. minRows: 5,
  59. minCols: 6,
  60. currentRowClassName: "currentRow",
  61. currentColClassName: "currentCol",
  62. rowHeaders: !0,
  63. colHeaders: !0
  64. }), hot.selectCell(2, 2);
  65. var hotMobilesTablets, containerMobilesTablets = document.getElementById("mobilesTablets");
  66. hotMobilesTablets = new Handsontable(containerMobilesTablets, {
  67. data: Handsontable.helper.createSpreadsheetData(100, 100),
  68. rowHeaders: !0,
  69. colHeaders: !0,
  70. })
  71. }
  72. );