RealGridMessages
Specifies the text output from the grid.
Signature:
export interface RealGridMessages
Remarks
If not specified, it is output as text set inside the grid.
Example
RealGrid.setLocale({
locale: "ko",
currency: "KRW",
messages: {
displayEmptyMessage: "There is no data to display."
...
}
});
You can use it by creating a resource file and then importing it.
// grid-resouce-ko.js
export const locale = {
locale: "ko",
currency: "KRW",
numberFormats: {
},
messages: {
}
}
// In main.ts, index.js, etc.
import(`./grid-resource-${navigator.language}.js)
.then(obj => {RealGrid.setLocale(obj.locale)})
.catch(err => console.log('resource file not exists'));
Properties
Property | Type | Description |
---|---|---|
checkListAcceptText | string | Check button in multiCheckEditor |
checkListAllCheckText | string | Select All button of multiCheckEditor |
checkListCancelText | string | multiCheckEditor's Cancel button |
clientEditingError | string | Message displayed when dataProvider.setValue is used while editing the grid |
commitEditingMessage | string | Message displayed when deleting the row being edited |
dataDropModeCopy | string | Message displayed when dataDropOptions.dropMode is copy |
dataDropModeMove | string | Message displayed when dataDropOptions.dropMode is move |
dataDropProxyLabel | string | String format output when dragging and dropping between grids |
dateEditorCancelLabel | string | dateEditor's cancel button |
dateEditorDeleteLabel | string | Delete button of dateEditor |
dateEditorHourLabel | string | Time in dateEditor |
dateEditorMinuteLabel | string | minute of dateEditor |
dateEditorMonthDisplayFormat | string | format used to display the month of dateEditor |
dateEditorMonths | string[] | The month displayed in the month selection screen of dateEditor. |
dateEditorSaveLabel | string | save button of dateEditor |
dateEditorSecondLabel | string | seconds in dateEditor |
dateEditorTodayLabel | string | dateEditor's Today button |
dateEditorWeekDays | string[] | Day of the week displayed in dateEditor. |
dateEditorYearDisplayFormat | string | format used to display the year of dateEditor |
dateEditorYearMonthDisplayFormat | string | Format used to display year-month of dateEditor |
decimalSeparator | string | Character to be output as decimal point in numberFormat |
deleteRowsMessage | string | Message displayed when deleting a row |
displayEmptyMessage | string | Message displayed when there is no data displayed in the grid |
exportProgressMessage | string | Message displayed in the toast window displayed when exporting |
fieldIndexOutOfBounds | string | Message displayed on the console when reading the value of an incorrect field |
fieldNameAlreadyExists | string | Message displayed when field names are duplicated |
fieldNameMustExists | string | Message displayed when field name is missing |
filterOperatorBetween | string | |
filterOperatorContains | string | filterPanel - filterOperator - Contains |
filterOperatorEmpty | string | |
filterOperatorEndsWith | string | |
filterOperatorEqual | string | |
filterOperatorGreater | string | |
filterOperatorGreaterEqual | string | |
filterOperatorLower | string | |
filterOperatorLowerEqual | string | |
filterOperatorNotContains | string | |
filterOperatorNotEqual | string | |
filterOperatorReset | string | |
filterOperatorStartsWith | string | |
filterSelectorAcceptText | string | ‘OK’ button in the filter selection window |
filterSelectorAllCheckText | string | (Select All) in the filter selection window |
filterSelectorCancelText | string | Cancel button in the filter selection window |
filterSelectorDateDayFormat | string | Format for date when using DateCategory in filter selection window |
filterSelectorDateMonthFormat | string | Format for month when using DateCategory in filter selection window |
filterSelectorDateQuarterFormat | string | Filter selection window When using DateCategory, format for branch |
filterSelectorDateYearFormat | string | Format for year when using DateCategory in filter selection window |
filterSelectorEmptyFilterText | string | (no value) in the filter selection window |
filterSelectorFilterResetText | string | Reset in the filter selection window |
filterSelectorFiltersResetText | string | ‘Reset All’ in the filter selection window |
filterSelectorHourFormat | string | Format for time when using Filter Selection Window TimeCategory |
filterSelectorMinuteFormat | string | Filter selection window Format for minutes when using TimeCategory |
filterSelectorSearchedCheckText | string | (Select all queries) in the filter selection window |
filterSelectorSearchPlaceholder | string | filter selection box search input's placeHolder |
filterSelectorSecondFormat | string | Filter selection window Format for seconds when using TimeCategory |
filterToastMessage | string | Phrases displayed in the toast window displayed during filtering |
gridContainerNotFind | string | Error message that occurs when grid container is not found |
gridElementAttachFail | string | Error message that occurs when a grid is duplicated |
groupingPrompt | string | Message output to groupPanel |
groupingToastMessage | string | Message displayed on the toast screen when grouping |
invalidDatetimeFormat1 | string | datetimeFormat setting error message 1 |
invalidDatetimeFormat2 | string | datetimeFormat setting error message 2 |
invalidFormatMessage | string | Error message to be displayed when it is not in the format specified by mask |
rowIndicatorFootText | string | Characters displayed in the rowIndicator footer area |
rowIndicatorHeadText | string | Characters displayed in the rowIndicator header area |
rowIndicatorSumText | string | Characters displayed in the rowIndicator headerSummary area |
rowOutOfBounds | string | Message printed to console when reading value from wrong row |
searchEditorMoreText | string | more button in searchEditor |
sortingToastMessage | string | Message displayed in the toast window displayed when sorting |
stateTextCreateAndDeleted | string | Message displayed on stateBar when a new-deleted row occurs |
stateTextCreated | string | Message displayed on stateBar when it is a new row |
stateTextDeleted | string | Message displayed on stateBar when a row is deleted |
stateTextUpdated | string | Message displayed on stateBar when the row is edited |
thousandsSeparator | string | Character to be output as thousand separator in numberFormat |
Properties Desc
checkListAcceptText
Check
button in multiCheckEditor
Type
- string
checkListAllCheckText
‘Select All’ button in multiCheckEditor
Type
- string
checkListCancelText
Cancel
button in multiCheckEditor
Type
- string
clientEditingError
Message displayed when dataProvider.setValue is used while editing the grid
Type
- string
commitEditingMessage
Message displayed when deleting the row being edited
Type
- string
dataDropModeCopy
Message displayed when dataDropOptions.dropMode is copy
Type
- string
dataDropModeMove
Message displayed when dataDropOptions.dropMode is move
Type
- string
dataDropProxyLabel
String format output when dragging and dropping between grids
Type
- string
dateEditorCancelLabel
Cancel button of dateEditor
Type
- string
dateEditorDeleteLabel
Delete button of dateEditor
Type
- string
dateEditorHourLabel
hour
in dateEditor
Type
- string
dateEditorMinuteLabel
minutes
in dateEditor
Type
- string
dateEditorMonthDisplayFormat
Format used when displaying the month of dateEditor
Type
- string
dateEditorMonths
The month displayed in the month selection screen of dateEditor.
Type
- string[]
dateEditorSaveLabel
save button of dateEditor
Type
- string
dateEditorSecondLabel
seconds
in dateEditor
Type
- string
dateEditorTodayLabel
Today
button of dateEditor
Type
- string
dateEditorWeekDays
Day of the week displayed in dateEditor.
Type
- string[]
dateEditorYearDisplayFormat
Format used when displaying the year of dateEditor
Type
- string
dateEditorYearMonthDisplayFormat
Format used to display year-month of dateEditor
Type
- string
decimalSeparator
Character to be output as decimal point in numberFormat
Type
- string
deleteRowsMessage
Message displayed when deleting a row
Type
- string
displayEmptyMessage
Message displayed when there is no data displayed in the grid
Type
- string
exportProgressMessage
Message displayed in the toast window displayed when exporting
Type
- string
fieldIndexOutOfBounds
Message displayed on the console when reading the value of an incorrect field
Type
- string
fieldNameAlreadyExists
Message displayed when field names are duplicated
Type
- string
fieldNameMustExists
Message displayed when field name is missing
Type
- string
filterOperatorBetween
Type
- string
filterOperatorContains
filterPanel - filterOperator - Contains
Type
- string
filterOperatorEmpty
Type
- string
filterOperatorEndsWith
Type
- string
filterOperatorEqual
Type
- string
filterOperatorGreater
Type
- string
filterOperatorGreaterEqual
Type
- string
filterOperatorLower
Type
- string
filterOperatorLowerEqual
Type
- string
filterOperatorNotContains
Type
- string
filterOperatorNotEqual
Type
- string
filterOperatorReset
Type
- string
filterOperatorStartsWith
Type
- string
filterSelectorAcceptText
‘OK’ button in the filter selection window
Type
- string
filterSelectorAllCheckText
(Select All)
in the filter selection window
Type
- string
filterSelectorCancelText
Cancel
button in the filter selection window
Type
- string
filterSelectorDateDayFormat
Format for date when using DateCategory in filter selection window
Type
- string
filterSelectorDateMonthFormat
Format for month when using DateCategory in filter selection window
Type
- string
filterSelectorDateQuarterFormat
Format for branch when using DateCategory in filter selection window
Type
- string
filterSelectorDateYearFormat
Format for year when using DateCategory in filter selection window
Type
- string
filterSelectorEmptyFilterText
(no value)
in the filter selection window
Type
- string
filterSelectorFilterResetText
‘Reset’ in the filter selection window
Type
- string
filterSelectorFiltersResetText
‘Reset all’ in the filter selection window
Type
- string
filterSelectorHourFormat
Format for time when using TimeCategory in the filter selection window
Type
- string
filterSelectorMinuteFormat
Format for minutes when using TimeCategory in the filter selection window
Type
- string
filterSelectorSearchedCheckText
(Select all queries)
in the filter selection window
Type
- string
filterSelectorSearchPlaceholder
filter selection box search input placeHolder
Type
- string
filterSelectorSecondFormat
Format for seconds when using TimeCategory in the filter selection window
Type
- string
filterToastMessage
Phrases displayed in the toast window displayed during filtering
Type
- string
gridContainerNotFind
Error message that occurs when grid container is not found
Type
- string
gridElementAttachFail
Error message that occurs when duplicate grids are created
Type
- string
groupingPrompt
Message displayed in groupPanel
Type
- string
groupingToastMessage
Message displayed on the toast screen when grouping
Type
- string
invalidDatetimeFormat1
datetimeFormat setting error message 1
Type
- string
invalidDatetimeFormat2
datetimeFormat setting error message 2
Type
- string
invalidFormatMessage
Error message to display when it is not in the format specified by mask
Type
- string
rowIndicatorFootText
Characters displayed in the rowIndicator footer area
Type
- string
rowIndicatorHeadText
Characters displayed in the rowIndicator header area
Type
- string
rowIndicatorSumText
rowIndicator header Characters displayed in the Summary area
Type
- string
rowOutOfBounds
Message printed to console when reading value from wrong row
Type
- string
searchEditorMoreText
more
button in searchEditor
Type
- string
sortingToastMessage
Message displayed in the toast window displayed when sorting
Type
- string
stateTextCreateAndDeleted
Message displayed in stateBar when new-deleted row
Type
- string
stateTextCreated
Message displayed on stateBar when there is a new row
Type
- string
stateTextDeleted
Message displayed on stateBar when a row is deleted
Type
- string
stateTextUpdated
Message displayed on stateBar when a row has been edited
Type
- string
thousandsSeparator
Character to be output as thousand separator in numberFormat
Type
- string