-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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 Datagrid #282
Comments
What do you mean by responsive datagrid? |
For the datagrid, this is the behavior of HTML tables. What would you expect? |
Good question, as I expect the answer would vary between use-cases. It would be nice if framework did something in the width case - obvious options would be to change how grid is rendered - e.g. columns that get pushed off appear on a 2nd row. Or allow columns on the grid to be marked as required/optional so that optional columns disappear if they don't fit. Looking at datatables.net (which i was using on something) and http://sitesforprofit.com/responsive-table-plugins-and-patterns - I'm not sure an obvious suggestion comes to me ;) |
@mantis very interesting table projects. I had never heard of either. Thanks for sharing. |
This issue has already been debated on the matreial-ui repository. Based on this discussion, I see two options for admin-on-rest:
But the real problem is that a table isn't a good UI for mobile. So I suggest a third solution:
What do you think? |
I do agree that option two is not practical. From our use case: Our admins use iPads when not in the office (so hiding one or two columns, but still rendering the current table, would be useful). Therefore I'm biased to say that But new |
yea, option 2 isn't practical - could the ideas be merged? (and you'll have to excuse my knowledge here) - a "ActionOnBreakPoint" logic where you could specify 600 => Hide, 480 => ListItem. I'm not sure here whether i'm suggest you'd have an array of different actions - or more just the ability to specify what "small" is, and whether to do a simple hide - or a more complex 'list' |
Is there any work being done on this already? My colleague and I might be able to submit a PR by next week that implements "support a new |
Nothing is started, it's all yours! |
... and i'm still learning so not in a position to work on things actively (yet) ;) |
Fixed by #390 |
From what I can tell, the datagrid component isn't 'responsive' out the box - are there any plans for this area?
The text was updated successfully, but these errors were encountered: