nhn / tui.grid

🍞🔡 The Powerful Component to Display and Edit Data. Experience the Ultimate Data Transformer!
http://ui.toast.com/tui-grid/
MIT License
2.41k stars 388 forks source link

noData 커스텀 메세지 출력 #1920

Open goodasi opened 1 year ago

goodasi commented 1 year ago

안녕하세요? 아래와 같이 언어 셋팅을 통해 기본 메세지를 바꿀수는 있는데 html 언어는 지원이 안되네요..

Grid.setLanguage('ko', { display: {
noData: <span>데이터 조회 조건을 선택 후 검색해주세요.</span>, loadingData: '데이터 조회중입니다.' } });

html 이 지원되는 커스텀 메세지를 출력할 수 있는 방법이 있는지 문의 드립니다. 그리고, loadingData와 같이 특정 동작이 이루어 질때 출력되는 메세지를 임의로 호출해서 보여줄 수 있는 방법이 있는지도 문의드립니다.