Open Cronian opened 2 years ago
@Cronian
Have you tried editing ev.xhr.res._body
?
@Cronian Have you tried editing
ev.xhr.res._body
?
in my case, ev.xhr.res is not exist.. (Spring framework 4.3.29 & Tomcat 9.0)
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!
This issue will be closed due to inactivity. Thanks for your contribution!
This issue will be closed due to inactivity. Thanks for your contribution!
Summary use tui-pagination dataSource without edit to backend source, how can i change dataform before run parsing
Version grid : 4.13.0 pagination : 3.4.0
Additional context when i use tui-pagination with dataSource, i must change backend dataform.
but it can’t.
how can i change dataform without edit to backend source.
——————————————————————
Toast Pagination에서 dataSource 사용시 지정된 형태로 결과 데이터를 넘겨주어야 정상 동작하지만
백앤드의 데이터 형태를 바꿀 수 없는 경우라서 api:readData에서 response를 처리하기 전에 response의 데이터 형태를 바꿔주려고 합니다.
이 경우 라이브러리 소스를 직접 수정하지 않고 response의 형태를 변경시켜줄 방법이 있을까요?
아래는 직접 시도해본 방법들입니다.