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

Support multiple row headers and column headers. #294

Open
ghost opened this issue Aug 28, 2020 · 0 comments
Open

Support multiple row headers and column headers. #294

ghost opened this issue Aug 28, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ghost
Copy link

ghost commented Aug 28, 2020

Describe the new feature being added
Our DataModel should be easily adaptable to cases where we want to have column and row header sizes of arbitrary size.

How will this feature improve this extension
There are cases where it makes sense to allow for multiple row headers and column headers. One case is where you want to have a column header filled with a standardized entry (e.g. letters as in Google Sheets and Microsoft Excel) as well as column headers with names that describe the data in the column. The data grid was designed with these possibilities in mind. it supports an arbitrary size for the row headers and the column headers. there is no reason that our data model shouldn't be as flexible as our UI.

Describe alternatives you've considered
The primary alternative would be to stick with a more rigid restriction for the number of column headers and row headers. This may be able to cover most use cases, but it seems beneficial to at least make room for the greater flexibility even if it is rarely used.

Additional context
One thing worth noting is that making this change most likely requires extending the DSVModel or submitting a pull request to JupyterLab to make this module more flexible

@ghost ghost added the enhancement New feature or request label Aug 28, 2020
@ghost ghost added this to the 1.0 milestone Aug 28, 2020
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

0 participants