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
feat: responsive table #23298
feat: responsive table #23298
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6483500:
|
Commits should be clean! |
34a0799
to
42b3a39
Compare
Grid already realize the responsive detect. Should not re-import another lib: https://github.com/ant-design/ant-design/blob/cff24d5dcb03207bf587d454e56bd2d477c0b555/components/grid/row.tsx |
Codecov Report
@@ Coverage Diff @@
## feature #23298 +/- ##
========================================
Coverage 98.35% 98.35%
========================================
Files 365 365
Lines 7290 7290
Branches 2000 1952 -48
========================================
Hits 7170 7170
Misses 120 120
Continue to review full report at Codecov.
|
42b3a39
to
0c43257
Compare
@zombieJ Fixed. It's a lot cleaner now. |
0c43257
to
7d8b3ab
Compare
7d8b3ab
to
6483500
Compare
I realised that |
@vbudovski You can send a new PR about that to help improve. |
@vbudovski Could you fill API documentation about https://ant.design/components/table/#Column |
ant-design/components/table/Table.tsx Lines 121 to 128 in c9fada3
Is it inappropriate for children to be dependent? In my case, it will cause a lot of extra render. |
@muzea send PR to optimize it. |
|
Has been requested/attempted several times.
#11817
Large Ant tables do not display well on smaller screens. Allow selective display of columns based on media query check in React.
Columns are only filtered out in the presence of a responsive attribute.
View rendered CHANGELOG.en-US.md
View rendered CHANGELOG.zh-CN.md
View rendered components/empty/index.en-US.md
View rendered components/form/index.en-US.md
View rendered components/form/index.zh-CN.md
View rendered components/select/index.en-US.md