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

Storage Table should attempt to maintain column order #216

Open
zachberry opened this issue Sep 16, 2014 · 0 comments
Open

Storage Table should attempt to maintain column order #216

zachberry opened this issue Sep 16, 2014 · 0 comments

Comments

@zachberry
Copy link
Member

The code that saves storage data accepts data in a specific order, however the display of this data on the site doesn't respect this ordering since the columns are sorted on the server.

So, you could code this:

storage.create("Table", "z1", "y1", "z2", "y2", "total")

However it would be displayed in a table as this:

total | y1 | y2 | z1 | z2

I would like to investigate and see what it would take to attempt to maintain the column order. One problem is that different versions of the widget could save different data so that might present a challenge.

If it's as simple as removing the line that sorts the columns then that's great. If it would be a massive undertaking then I would probably not want to fix it and simply make it clear in the documentation not to expect a strict ordering.

@iturgeon iturgeon modified the milestone: Materia 3 (Odin) Jan 12, 2015
@iturgeon iturgeon modified the milestone: Materia 3 (Odin) May 18, 2015
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

2 participants