RealGrid2 API
Interface
Realgridmessages

RealGridMessages

그리드에서 출력되는 text를 지정한다.

Signature:

export interface RealGridMessages 

Remarks

지정하지 않으면 그리드 내부에 설정된 text로 출력된다.

Example

RealGrid.setLocale({
  locale: "ko",
  currency: "KRW",
  messages: {
    displayEmptyMessage: "표시할 데이타가 없습니다."
    ...
  }
});

resource 파일을 작성후 import해서 사용할수 있다.

// grid-resouce-ko.js
export const locale = {
  locale: "ko",
  currency: "KRW",
  numberFormats: {
  },
  messages: {
  }
}
 
// main.ts, index.js등에서.
import(`./grid-resource-${navigator.language}.js)
  .then(obj => {RealGrid.setLocale(obj.locale)})
  .catch(err => console.log('resource file not exists'));

Properties

PropertyModifiersTypeDescription
checkListAcceptTextstringmultiCheckEditor의 확인버튼
checkListAllCheckTextstringmultiCheckEditor의 전체선택 버튼
checkListCancelTextstringmultiCheckEditor의 취소버튼
clientEditingErrorstring그리드를 편집중 dataProvider.setValue를 사용했을때 표시되는 메시지
commitEditingMessagestring편집중인 행을 삭제시 표시되는 메시지
dataDropModeCopystringdataDropOptions.dropMode가 copy일때 출력되는 메시지
dataDropModeMovestringdataDropOptions.dropMode가 move일때 출력되는 메시지
dataDropProxyLabelstring그리드간 drag&drop시 출력되는 문자열 format
dateEditorCancelLabelstringdateEditor의 취소버튼
dateEditorDeleteLabelstringdateEditor의 삭제버튼
dateEditorHourLabelstringdateEditor의
dateEditorMinuteLabelstringdateEditor의
dateEditorMonthDisplayFormatstringdateEditor의 월을 표시할때 사용되는 format
dateEditorMonthsstring[]dateEditor의 월선택 화면에서 표시되는 월.
dateEditorSaveLabelstringdateEditor의 저장버튼
dateEditorSecondLabelstringdateEditor의
dateEditorTodayLabelstringdateEditor의 Today버튼
dateEditorWeekDaysstring[]dateEditor에 표시되는 요일.
dateEditorYearDisplayFormatstringdateEditor의 년을 표시할때 사용되는 format
decimalSeparatorstringnumberFormat에서 소숫점으로 출력될 문자
deleteRowsMessagestring행을 삭제시 표시되는 메시지
displayEmptyMessagestring그리드에 표시되는 data가 없는 경우 출력되는 메시지
exportProgressMessagestringexport시 표시되는 toast창에 출력되는 메시지
fieldIndexOutOfBoundsstring잘못된 field의 값을 읽는 경우 console에 출력되는 메시지
fieldNameAlreadyExistsstring필드명이 중복되었을때 표시되는 메시지
fieldNameMustExistsstring필드명이 누락되었을때 표시되는 메시지
filterOperatorBetweenstring
filterOperatorContainsstringfilterPanel - filterOperator - Contains
filterOperatorEmptystring
filterOperatorEndsWithstring
filterOperatorEqualstring
filterOperatorGreaterstring
filterOperatorGreaterEqualstring
filterOperatorLowerstring
filterOperatorLowerEqualstring
filterOperatorNotContainsstring
filterOperatorNotEqualstring
filterOperatorResetstring
filterOperatorStartsWithstring
filterSelectorAcceptTextstring필터 선택창의 확인 버튼
filterSelectorAllCheckTextstring필터 선택창의 (전체 선택)
filterSelectorCancelTextstring필터 선택창의 취소버튼
filterSelectorDateDayFormatstring필터 선택창 DateCategory사용시 날짜에 대한 format
filterSelectorDateMonthFormatstring필터 선택창 DateCategory사용시 월에 대한 format
filterSelectorDateQuarterFormatstring필터 선택창 DateCategory사용시 분기에 대한 format
filterSelectorDateYearFormatstring필터 선택창 DateCategory사용시 년도에 대한 format
filterSelectorEmptyFilterTextstring필터 선택창의 (값 없음)
filterSelectorFilterResetTextstring필터 선택창의 초기화
filterSelectorFiltersResetTextstring필터 선택창의 전체 초기화
filterSelectorSearchedCheckTextstring필터 선택창의 (조회 전체 선택)
filterSelectorSearchPlaceholderstring필터 선택창 검색 input의 placeHolder
filterToastMessagestringfiltering시 표시되는 toast창에 출력되는 문구
gridContainerNotFindstring그리드 container를 찾지 못했을때 발생하는 error 메시지
gridElementAttachFailstring그리드를 중복생성했을때 발생하는 error 메시지
groupingPromptstringgroupPanel에 출력되는 메시지
groupingToastMessagestringgroup Grouping시 toast화면에 출력되는 메시지
invalidDatetimeFormat1stringdatetimeFormat 설정오류 메시지1
invalidDatetimeFormat2stringdatetimeFormat 설정오류 메시지2
invalidFormatMessagestringmask 에서 지정한 형태가 아닐 때 표시할 오류 메시지
rowIndicatorFootTextstringrowIndicator footer영역에 출력되는 문자
rowIndicatorHeadTextstringrowIndicator header영역에 출력되는 문자
rowIndicatorSumTextstringrowIndicator headerSummary영역에 출력되는 문자
rowOutOfBoundsstring잘못된 행의 값을 읽는 경우 console에 출력되는 메시지
searchEditorMoreTextstringsearchEditor에 more버튼
sortingToastMessagestring정렬시 표시되는 toast창에 출력되는 메시지
stateTextCreateAndDeletedstring신규-삭제된 행일때 stateBar에 출력되는 메시지
stateTextCreatedstring신규행일때 stateBar에 출력되는 메시지
stateTextDeletedstring삭제된 행일때 stateBar에 출력되는 메시지
stateTextUpdatedstring편집된 행일때 stateBar에 출력되는 메시지
thousandsSeparatorstringnumberFormat에서 천단위 구분기호로 출력될 문자

Properties Desc

checkListAcceptText

multiCheckEditor의 확인버튼

checkListAllCheckText

multiCheckEditor의 전체선택 버튼

checkListCancelText

multiCheckEditor의 취소버튼

clientEditingError

그리드를 편집중 dataProvider.setValue를 사용했을때 표시되는 메시지

commitEditingMessage

편집중인 행을 삭제시 표시되는 메시지

dataDropModeCopy

dataDropOptions.dropMode가 copy일때 출력되는 메시지

dataDropModeMove

dataDropOptions.dropMode가 move일때 출력되는 메시지

dataDropProxyLabel

그리드간 drag&drop시 출력되는 문자열 format

dateEditorCancelLabel

dateEditor의 취소버튼

dateEditorDeleteLabel

dateEditor의 삭제버튼

dateEditorHourLabel

dateEditor의

dateEditorMinuteLabel

dateEditor의

dateEditorMonthDisplayFormat

dateEditor의 월을 표시할때 사용되는 format

dateEditorMonths

dateEditor의 월선택 화면에서 표시되는 월.

dateEditorSaveLabel

dateEditor의 저장버튼

dateEditorSecondLabel

dateEditor의

dateEditorTodayLabel

dateEditor의 Today버튼

dateEditorWeekDays

dateEditor에 표시되는 요일.

dateEditorYearDisplayFormat

dateEditor의 년을 표시할때 사용되는 format

decimalSeparator

numberFormat에서 소숫점으로 출력될 문자

deleteRowsMessage

행을 삭제시 표시되는 메시지

displayEmptyMessage

그리드에 표시되는 data가 없는 경우 출력되는 메시지

exportProgressMessage

export시 표시되는 toast창에 출력되는 메시지

fieldIndexOutOfBounds

잘못된 field의 값을 읽는 경우 console에 출력되는 메시지

fieldNameAlreadyExists

필드명이 중복되었을때 표시되는 메시지

fieldNameMustExists

필드명이 누락되었을때 표시되는 메시지

filterOperatorBetween

filterOperatorContains

filterPanel - filterOperator - Contains

filterOperatorEmpty

filterOperatorEndsWith

filterOperatorEqual

filterOperatorGreater

filterOperatorGreaterEqual

filterOperatorLower

filterOperatorLowerEqual

filterOperatorNotContains

filterOperatorNotEqual

filterOperatorReset

filterOperatorStartsWith

filterSelectorAcceptText

필터 선택창의 확인 버튼

filterSelectorAllCheckText

필터 선택창의 (전체 선택)

filterSelectorCancelText

필터 선택창의 취소버튼

filterSelectorDateDayFormat

필터 선택창 DateCategory사용시 날짜에 대한 format

filterSelectorDateMonthFormat

필터 선택창 DateCategory사용시 월에 대한 format

filterSelectorDateQuarterFormat

필터 선택창 DateCategory사용시 분기에 대한 format

filterSelectorDateYearFormat

필터 선택창 DateCategory사용시 년도에 대한 format

filterSelectorEmptyFilterText

필터 선택창의 (값 없음)

filterSelectorFilterResetText

필터 선택창의 초기화

filterSelectorFiltersResetText

필터 선택창의 전체 초기화

filterSelectorSearchedCheckText

필터 선택창의 (조회 전체 선택)

filterSelectorSearchPlaceholder

필터 선택창 검색 input의 placeHolder

filterToastMessage

filtering시 표시되는 toast창에 출력되는 문구

gridContainerNotFind

그리드 container를 찾지 못했을때 발생하는 error 메시지

gridElementAttachFail

그리드를 중복생성했을때 발생하는 error 메시지

groupingPrompt

groupPanel에 출력되는 메시지

groupingToastMessage

group Grouping시 toast화면에 출력되는 메시지

invalidDatetimeFormat1

datetimeFormat 설정오류 메시지1

invalidDatetimeFormat2

datetimeFormat 설정오류 메시지2

invalidFormatMessage

mask 에서 지정한 형태가 아닐 때 표시할 오류 메시지

rowIndicatorFootText

rowIndicator footer영역에 출력되는 문자

rowIndicatorHeadText

rowIndicator header영역에 출력되는 문자

rowIndicatorSumText

rowIndicator headerSummary영역에 출력되는 문자

rowOutOfBounds

잘못된 행의 값을 읽는 경우 console에 출력되는 메시지

searchEditorMoreText

searchEditor에 more버튼

sortingToastMessage

정렬시 표시되는 toast창에 출력되는 메시지

stateTextCreateAndDeleted

신규-삭제된 행일때 stateBar에 출력되는 메시지

stateTextCreated

신규행일때 stateBar에 출력되는 메시지

stateTextDeleted

삭제된 행일때 stateBar에 출력되는 메시지

stateTextUpdated

편집된 행일때 stateBar에 출력되는 메시지

thousandsSeparator

numberFormat에서 천단위 구분기호로 출력될 문자