mzgantt 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -74,7 +74,7 @@ MZGantt supports two usage methods: JS reference and npm installation.
74
74
  ganttStatus: "e", // Set Gantt chart status (e: edit plan, r: read-only)
75
75
 
76
76
  // Column configuration (left table column display configuration, not Gantt data format)
77
- columnDefs: [
77
+ columns: [
78
78
  {name: 'seq', field: "seq", type:"level"},
79
79
  {name: 'checkbox', field: "checkbox"},
80
80
  {name: 'iconColsVal', field: "iconColsVal", width: 30},
@@ -182,11 +182,6 @@ MZGantt supports two usage methods: JS reference and npm installation.
182
182
  contentHeight: 360, // Set Gantt chart height (excluding header), default: 300px. If adjustGanttHeight function is called on page for auto-height, this parameter can be omitted
183
183
  rowHeight: 35, // Set row height, default: 35px
184
184
 
185
- // Left column width settings, can be deprecated after columnDefs is complete
186
- iconColWidth: 30, // Set icon column width, default: 60px
187
- nameColWidth: 150, // Set task/resource column width, default: 150px
188
- dateColWidth: 120, // Set date column width, default: 80px
189
-
190
185
  // Right grid width settings (for different time scales)
191
186
  hourColWidth: 20, // Hour scale
192
187
  dayColWidth: 20, // Day scale
@@ -903,7 +898,7 @@ MZGantt provides rich interfaces to operate or control Gantt chart data and feat
903
898
  7. Export Image
904
899
  |<div style="width:170px">Method</div>| <div style="width:190px">Description</div>| <div style="width:375px">Parameters</div>
905
900
  |----| ----|----|
906
- exportGanttImg |Save as image| None
901
+ exportGanttImg |Save as image|Parameter 1: title height(titleHeight) <br > Parameter 2: title string(titleStr)
907
902
 
908
903
  8. Event Listeners
909
904
  |<div style="width:230px">Event Name</div>| <div style="width:560px">Description</div>|
@@ -941,11 +936,11 @@ MZGantt provides rich interfaces to operate or control Gantt chart data and feat
941
936
  1. Standard JS Version
942
937
  Download Or use following CDN:
943
938
  ```
944
- <link rel="stylesheet" type="text/css" href="https://gcore.jsdelivr.net/npm/mzgantt@1.0.7/cdn/mzgantt.css" />
945
- <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.7/cdn/mzgantt.js"></script>
946
- <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.7/cdn/edit.js"></script>
947
- <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.7/cdn/export.js"></script>
948
- <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.7/cdn/mobile.js"></script>
939
+ <link rel="stylesheet" type="text/css" href="https://gcore.jsdelivr.net/npm/mzgantt@1.0.8/cdn/mzgantt.css" />
940
+ <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.8/cdn/mzgantt.js"></script>
941
+ <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.8/cdn/edit.js"></script>
942
+ <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.8/cdn/export.js"></script>
943
+ <script language="javascript" src="https://gcore.jsdelivr.net/npm/mzgantt@1.0.8/cdn/mobile.js"></script>
949
944
  ```
950
945
 
951
946
  2. npm Version (supports Vue, etc.): Install directly using npm command.