반응형
You can find the '_data > rows', and under that there is '_cacheByPath'. I guess your fields order is different from what you made.
Look at the '_fields' below. You can check your areaIndex works well there.
For the first time I returned the PivotGridDataSource object like this.
return new PivotGridDataSource({
fields: [...
...]
})
And changed it like this.
const result;
result = new PivotGridDataSource({
fields: [...
...];
return result;
That's all. It was the cache. After the _cachePath changed, it doesn't matter if I returned it as a new Object or a variable.
한줄 요약: 캐시 때문이다. JQuery가 캐시를 많이 쓴다고 하는데 한 번 리프레시 되도록 해주면 정상적으로 동작하는 것을 볼 수 있다.
728x90
반응형
'Library' 카테고리의 다른 글
[redux-persist] WebStorage에 light/dark mode 저장하기 (0) | 2024.02.19 |
---|---|
RTK-query로 게시판 작성 시, formdata를 넘기고 싶은 경우 (0) | 2023.08.11 |
react-hook-form data not bounded, useForm not working (0) | 2022.05.13 |
"editor.defaultFormatter": "esbenp.prettier-vscode", value is not accepted (0) | 2022.05.13 |
Tailwind 설정 방법 참고 링크 (0) | 2022.05.10 |