RealGrid2 API
Interface
RealGridMessages

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

PropertyTypeDescription
checkListAcceptTextstringCheck button in multiCheckEditor
checkListAllCheckTextstringSelect All button of multiCheckEditor
checkListCancelTextstringmultiCheckEditor's Cancel button
clientEditingErrorstringMessage displayed when dataProvider.setValue is used while editing the grid
commitEditingMessagestringMessage displayed when deleting the row being edited
dataDropModeCopystringMessage displayed when dataDropOptions.dropMode is copy
dataDropModeMovestringMessage displayed when dataDropOptions.dropMode is move
dataDropProxyLabelstringString format output when dragging and dropping between grids
dateEditorCancelLabelstringdateEditor's cancel button
dateEditorDeleteLabelstringDelete button of dateEditor
dateEditorHourLabelstringTime in dateEditor
dateEditorMinuteLabelstringminute of dateEditor
dateEditorMonthDisplayFormatstringformat used to display the month of dateEditor
dateEditorMonthsstring[]The month displayed in the month selection screen of dateEditor.
dateEditorSaveLabelstringsave button of dateEditor
dateEditorSecondLabelstringseconds in dateEditor
dateEditorTodayLabelstringdateEditor's Today button
dateEditorWeekDaysstring[]Day of the week displayed in dateEditor.
dateEditorYearDisplayFormatstringformat used to display the year of dateEditor
dateEditorYearMonthDisplayFormatstringFormat used to display year-month of dateEditor
decimalSeparatorstringCharacter to be output as decimal point in numberFormat
deleteRowsMessagestringMessage displayed when deleting a row
displayEmptyMessagestringMessage displayed when there is no data displayed in the grid
exportProgressMessagestringMessage displayed in the toast window displayed when exporting
fieldIndexOutOfBoundsstringMessage displayed on the console when reading the value of an incorrect field
fieldNameAlreadyExistsstringMessage displayed when field names are duplicated
fieldNameMustExistsstringMessage displayed when field name is missing
filterOperatorBetweenstring
filterOperatorContainsstringfilterPanel - filterOperator - Contains
filterOperatorEmptystring
filterOperatorEndsWithstring
filterOperatorEqualstring
filterOperatorGreaterstring
filterOperatorGreaterEqualstring
filterOperatorLowerstring
filterOperatorLowerEqualstring
filterOperatorNotContainsstring
filterOperatorNotEqualstring
filterOperatorResetstring
filterOperatorStartsWithstring
filterSelectorAcceptTextstring‘OK’ button in the filter selection window
filterSelectorAllCheckTextstring(Select All) in the filter selection window
filterSelectorCancelTextstringCancel button in the filter selection window
filterSelectorDateDayFormatstringFormat for date when using DateCategory in filter selection window
filterSelectorDateMonthFormatstringFormat for month when using DateCategory in filter selection window
filterSelectorDateQuarterFormatstringFilter selection window When using DateCategory, format for branch
filterSelectorDateYearFormatstringFormat for year when using DateCategory in filter selection window
filterSelectorEmptyFilterTextstring(no value) in the filter selection window
filterSelectorFilterResetTextstringReset in the filter selection window
filterSelectorFiltersResetTextstring‘Reset All’ in the filter selection window
filterSelectorHourFormatstringFormat for time when using Filter Selection Window TimeCategory
filterSelectorMinuteFormatstringFilter selection window Format for minutes when using TimeCategory
filterSelectorSearchedCheckTextstring(Select all queries) in the filter selection window
filterSelectorSearchPlaceholderstringfilter selection box search input's placeHolder
filterSelectorSecondFormatstringFilter selection window Format for seconds when using TimeCategory
filterToastMessagestringPhrases displayed in the toast window displayed during filtering
gridContainerNotFindstringError message that occurs when grid container is not found
gridElementAttachFailstringError message that occurs when a grid is duplicated
groupingPromptstringMessage output to groupPanel
groupingToastMessagestringMessage displayed on the toast screen when grouping
invalidDatetimeFormat1stringdatetimeFormat setting error message 1
invalidDatetimeFormat2stringdatetimeFormat setting error message 2
invalidFormatMessagestringError message to be displayed when it is not in the format specified by mask
rowIndicatorFootTextstringCharacters displayed in the rowIndicator footer area
rowIndicatorHeadTextstringCharacters displayed in the rowIndicator header area
rowIndicatorSumTextstringCharacters displayed in the rowIndicator headerSummary area
rowOutOfBoundsstringMessage printed to console when reading value from wrong row
searchEditorMoreTextstringmore button in searchEditor
sortingToastMessagestringMessage displayed in the toast window displayed when sorting
stateTextCreateAndDeletedstringMessage displayed on stateBar when a new-deleted row occurs
stateTextCreatedstringMessage displayed on stateBar when it is a new row
stateTextDeletedstringMessage displayed on stateBar when a row is deleted
stateTextUpdatedstringMessage displayed on stateBar when the row is edited
thousandsSeparatorstringCharacter 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