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

Pandas loader to work correctly with Index #180

Open
vladignatyev opened this issue Dec 4, 2020 · 0 comments
Open

Pandas loader to work correctly with Index #180

vladignatyev opened this issue Dec 4, 2020 · 0 comments

Comments

@vladignatyev
Copy link

vladignatyev commented Dec 4, 2020

Currently, the from_dataframe generates a table from the simple dataframe properly.

But when we add a custom index column to the dataframe, the ipysheet does not respect the index when we click column header for sorting.

Current behaviour: 1) When the user clicks a column header, the ipysheet sorts the whole table, missing the correct sort order in the index column. The index column looks like frozen. 2) The width of the index column is fixed and do not resize following the content width, neither we have a resize handle for that, despite the handle for every other column.

Desired behaviour: 1) When the user clicks a column header, the index column react to the sorting and its order get matched the row order in the data after sort. 2) The width of the index column is not fixed and matches the content inside. Also, the GUI for the index column works consistently and allows user to resize the index column as a normal column.

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

1 participant