Skip to content
New issue

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

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

Already on GitHub? # to your account

Table panel columns are not in the same order as its data source #271

Open
pokle opened this issue Jun 22, 2022 · 1 comment
Open

Table panel columns are not in the same order as its data source #271

pokle opened this issue Jun 22, 2022 · 1 comment

Comments

@pokle
Copy link

pokle commented Jun 22, 2022

I expect the table panel to show columns in the same order as its source. It appears to sort the columns alphabetically by default.

For example, if I query (sqlite): select 1 d, 2 c, 3 b, 4 a, the table panel displays these columns in the order a,b,c,d. I expect them to be in the same order as queried.

@eatonphil
Copy link
Member

Yes column order from the response of queries is not stored at all right now so I just picked an order so it's not constantly changing.

You can modify the order today by editing the table details but yeah that's not too friendly.

This is a good feature request.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants