mirror of
https://github.com/VisActor/VTable
synced 2024-11-22 01:52:03 +00:00
docs: add gantt option
This commit is contained in:
parent
a40a7c0a05
commit
f64661c57e
@ -162,3 +162,27 @@ For specific reference, see the configuration in ListTable: [Specific configurat
|
|||||||
Pixel ratio.
|
Pixel ratio.
|
||||||
|
|
||||||
Optional
|
Optional
|
||||||
|
|
||||||
|
## dateFormat(string)
|
||||||
|
|
||||||
|
The date format of the new schedule. The date data will be added to the date field value in the data record. The default value is 'yyyy-mm-dd'.
|
||||||
|
|
||||||
|
Not required
|
||||||
|
|
||||||
|
```
|
||||||
|
dateFormat?:
|
||||||
|
| 'yyyy-mm-dd'
|
||||||
|
| 'dd-mm-yyyy'
|
||||||
|
| 'mm/dd/yyyy'
|
||||||
|
| 'yyyy/mm/dd'
|
||||||
|
| 'dd/mm/yyyy'
|
||||||
|
| 'yyyy.mm.dd'
|
||||||
|
| 'dd.mm.yyyy'
|
||||||
|
| 'mm.dd.yyyy';
|
||||||
|
```
|
||||||
|
|
||||||
|
## underlayBackgroundColor(string)
|
||||||
|
|
||||||
|
The fill color of the canvas outside the drawing range is '#fff' by default, and it also matches the background color of the table on the left.
|
||||||
|
|
||||||
|
Not required
|
||||||
|
@ -162,3 +162,27 @@
|
|||||||
像素比率。
|
像素比率。
|
||||||
|
|
||||||
非必填
|
非必填
|
||||||
|
|
||||||
|
## dateFormat(string)
|
||||||
|
|
||||||
|
新建排期的日期格式,日期数据将被添加到数据 record 中日期字段值中,默认为'yyyy-mm-dd'。
|
||||||
|
|
||||||
|
非必填
|
||||||
|
|
||||||
|
```
|
||||||
|
dateFormat?:
|
||||||
|
| 'yyyy-mm-dd'
|
||||||
|
| 'dd-mm-yyyy'
|
||||||
|
| 'mm/dd/yyyy'
|
||||||
|
| 'yyyy/mm/dd'
|
||||||
|
| 'dd/mm/yyyy'
|
||||||
|
| 'yyyy.mm.dd'
|
||||||
|
| 'dd.mm.yyyy'
|
||||||
|
| 'mm.dd.yyyy';
|
||||||
|
```
|
||||||
|
|
||||||
|
## underlayBackgroundColor(string)
|
||||||
|
|
||||||
|
绘制范围外的 canvas 上填充的颜色,默认为'#fff',同时也适配到左侧表格的背景色。
|
||||||
|
|
||||||
|
非必填
|
||||||
|
Loading…
Reference in New Issue
Block a user