'-' ๋ฒํผ์ ๋๋ฅด๋ฉด ํด๋น ํ์ด ์ญ์ ๋๊ณ ,
'+' ๋ฒํผ์ ๋๋ฅด๋ฉด ํด๋น ํ ๋ฐ์ ํ์ด ์ถ๊ฐ ๋๋ ๋ก์ง์ ๋ง๋ค์๋ค.
๊ทธ๋ฐ๋ฐ, ๋ฒํผ์ ๋๋ฌ์ ๋ฐ์ดํฐ์ ์ ๋ณํ๊ฐ ์๊ธฐ๋ฉด ์คํฌ๋กค์ด ๊ณ์ ์๋ก๊ฐ๋ ํ์์ด ์์๋ค.
์ ํ๋ค์ ๊ทธ๋ฆฌ๋์ ์๋์ชฝ์ ํฌ์ง์ ๋์ด ์๋๋ฐ,
์ถ๊ฐ๋๋ฉด ์คํฌ๋กค์ด ๊ทธ๋ฆฌ๋ ๋งจ์๋ก ์ด๋ํด์ ์ถ๊ฐ๋ ๋ฐ์ดํฐ๊ฐ ๋ณด์ด์ง ์๊ณ ์์ชฝ ๋ฐ์ดํฐ๋ง ๋ณด์ด๋ ๊ฒ์ด๋ค.
suppressScrollOnNewData: true
๊ทธ๋ฆฌ๋ Props์ ์ด ์ฝ๋๋ฅผ ์ถ๊ฐํด์ฃผ๋, ํด๊ฒฐ ๋์๋ค !
JavaScript Grid: Grid Options Reference | AG Grid
Grid Options reference for JavaScript Data Grid. Browse all Grid Options used to configure selection, pivoting, aggregation, filtering, editing, keyboard navigation. Download AG Grid v32.2.0 today: The best JavaScript Table & JavaScript Data Grid in the wo
www.ag-grid.com
When true, the grid will not scroll to the top when new row data is provided. Use this if you don't want the default behaviour of scrolling to the top every time you load new data.
์๋ก์ด ํ ๋ฐ์ดํฐ๊ฐ ์ ๊ณต๋ ๋ ๊ทธ๋ฆฌ๋๊ฐ ๋งจ ์๋ก ์คํฌ๋กค๋์ง ์์ต๋๋ค. ์ ๋ฐ์ดํฐ๋ฅผ ๋ก๋ํ ๋๋ง๋ค ๋งจ ์๋ก ์คํฌ๋กคํ๋ ๊ธฐ๋ณธ ๋์์ ์ํ์ง ์๋ ๊ฒฝ์ฐ ์ด ์ต์ ์ ์ฌ์ฉํฉ๋๋ค.
๊ณต์๋ฌธ์์์๋ ์ด๋ ๊ฒ ์ค๋ช ํ๊ณ ์๋ค.
aggrid์์๋ ์ ๋ฐ์ดํฐ๋ฅผ ๋ก๋ํ ๋, ๋งจ ์๋ก ์คํฌ๋กคํ๋ ๊ธฐ๋ฅ์ด ๋ด์ฅ๋์ด ์์๊ตฌ๋๋ฅผ ์ ๋๋ก ๊นจ๋ฌ์๋ค..!!
'Programming > React' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์ ์ญ ์ํ ๊ด๋ฆฌ ๋๊ตฌ Recoil (1) | 2024.12.19 |
---|---|
eslint any ํ์ ์ ๋ํ ์ฒดํฌ ํด์ (0) | 2024.10.07 |
[ React ] vite ์ ๋ ๊ฒฝ๋ก ์ค์ (0) | 2024.10.02 |
[React] CRA๋์ Vite๋ก React ์ค์น ๋ฐ ์คํํ๊ธฐ (TypeScript) (2) | 2024.09.27 |
[ React ] JWT ํ ํฐ (0) | 2024.08.22 |