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

Add a Cell class #5

Open
jwodder opened this issue Dec 2, 2021 · 0 comments
Open

Add a Cell class #5

jwodder opened this issue Dec 2, 2021 · 0 comments
Labels
c:alignment c:padding enhancement New feature or request therefor library API Relating to the public library API

Comments

@jwodder
Copy link
Owner

jwodder commented Dec 2, 2021

Add a public Cell class (not to be confused with the Cell class used internally by the code as of v0.12.0, which will have to be renamed) that wraps and can be passed in place of a cell's content and that takes optional parameters for setting the alignment, padding, etc. for just that cell.

  • Cell(None) should be the same as "None", regardless of the value of none_str
  • Should Cells be allowed in headers? How would that interact with dict rows?

Some basic test cases for this feature can be found on the feature/cell-class branch.

@jwodder jwodder added enhancement New feature or request therefor c:alignment c:padding labels Dec 2, 2021
@jwodder jwodder added the library API Relating to the public library API label Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:alignment c:padding enhancement New feature or request therefor library API Relating to the public library API
Projects
None yet
Development

No branches or pull requests

1 participant