Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring: Modify DatagridBody component structure #27

Open
dev-seomoon opened this issue Nov 27, 2021 · 0 comments
Open

Refactoring: Modify DatagridBody component structure #27

dev-seomoon opened this issue Nov 27, 2021 · 0 comments

Comments

@dev-seomoon
Copy link
Contributor

(1)

-- DatagridBody

​	-- BodyLeftPanel

​	-- BodyMainPanel

​		-- scroll-content

​			-- body_aside_table

​			-- body_main_table (BodyTable)

(2)

-- DatagridBody

​	-- scroll-content

​		-- BodyAsidePanel

​			-- body_aside_table

​		-- BodyLeftPanel

​		-- BodyMainPanel

​			-- body_main_table (BodyTable)

(1)번 구조에서 (2)번 구조로 변경하려고 합니다

구조 변경 이유 :

  • (1)번 구조에서는 BodyLeftPanel 컴포넌트가 고려되지 않음
  • 어차피 BodyAsidePanel, BodyLeftPanel, BodyMainPanel이 모두 한 스크롤 영역으로 묶여야 하기 때문에,
    scroll-content를 세 컴포넌트 바깥으로 빼고
    세 컴포넌트를 같은 레벨에 두는 것이 더 관리하기 편하고 코드 구성이 깔끔해질 듯함
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant