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

Responsive Sizing #44

Open
mjkuhlen opened this issue Jul 29, 2022 · 5 comments
Open

Responsive Sizing #44

mjkuhlen opened this issue Jul 29, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@mjkuhlen
Copy link

Is there any way to have the table change layout, similar to how MUI-Datatables does? If you are on a small device it re-arranges the columns into a stack so you can see a whole row at a glance without having to scroll left to right.
https://codesandbox.io/s/github/gregnb/mui-datatables

@fl0wx
Copy link

fl0wx commented Aug 8, 2022

It would also be nice to have a "Flex" like layout, like in mui datatable. so the columns resize responsively and also cover full width on monitor.
https://mui.com/x/react-data-grid/layout/

@fl0wx
Copy link

fl0wx commented Aug 10, 2022

@Kuechlin: Thanks for the Flex Integration. One thing to mention is, that if you resize the page manually, the table doesnt rerender. I have to reload the page manually to adapt the columns to the new size. How can this be automated?

@Kuechlin
Copy link
Owner

Kuechlin commented Aug 10, 2022

i have also noticed this problem, i am already implementing a fix. i will use a resize-observer to update the table width on change.

@fl0wx
Copy link

fl0wx commented Aug 10, 2022

Thanks that sounds great :)

@Kuechlin Kuechlin added the enhancement New feature or request label Sep 21, 2022
@ForeshadowRU
Copy link

@Kuechlin any plans on adding same responsive behaviour as
https://elastic.github.io/eui/#/tabular-content/tables#a-basic-table has?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants