[]
Sheets.GanttSheet.GanttMapping
• new GanttMapping()
Creates the mapping for the GanttSheet
classdesc
Represents the mapping of GanttSheet to convert and convert back the task value.
▸ formatBoolean(value
): string
A helper function that will format a boolean value to string.
Name | Type | Description |
---|---|---|
value |
boolean |
The boolean value to format. |
string
▸ formatDate(value
, format?
, culture?
): string
A helper function that will format a Date value to string.
Name | Type | Description |
---|---|---|
value |
Date |
The Date value to format. |
format? |
string |
- |
culture? |
string |
- |
string
▸ formatDuration(value
): string
A helper function that will format a GC.Spread.Sheets.GanttSheet.Duration value to string.
Name | Type | Description |
---|---|---|
value |
Duration |
The Duration value to format. |
string
▸ formatInt(value
): string
A helper function that will format a number value to string.
Name | Type | Description |
---|---|---|
value |
number |
The number value to format. |
string
▸ formatMode(value
): string
A helper function that will format a GC.Spread.Sheets.GanttSheet.TaskScheduleMode value to string.
Name | Type | Description |
---|---|---|
value |
TaskScheduleMode |
The value to format. |
string
▸ parseBoolean(value
): boolean
A helper function that will parse an original value in string or other types to a boolean value.
Name | Type | Description |
---|---|---|
value |
any |
The original value to parse. |
boolean
▸ parseDate(value
, format?
, culture?
): Date
A helper function that will parse an original value in string or other types to a Date value.
Name | Type | Description |
---|---|---|
value |
any |
The original value to parse. |
format? |
string |
- |
culture? |
string |
- |
Date
▸ parseDuration(value
): Duration
A helper function that will parse an original value in string or other types to a GC.Spread.Sheets.GanttSheet.Duration value.
Name | Type | Description |
---|---|---|
value |
any |
The original value to parse. |
▸ parseInt(value
): number
A helper function that will parse an original value in string or other types to an integer value.
Name | Type | Description |
---|---|---|
value |
any |
The original value to parse. |
number
▸ parseMode(value
): TaskScheduleMode
A helper function that will parse an original value in string or other types to a GC.Spread.Sheets.GanttSheet.TaskScheduleMode value.
Name | Type | Description |
---|---|---|
value |
any |
The original value to parse. |