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

Give extending classes access to some of the data grid's paint utilities. #110

Closed
ghost opened this issue Aug 18, 2020 · 0 comments · Fixed by #111
Closed

Give extending classes access to some of the data grid's paint utilities. #110

ghost opened this issue Aug 18, 2020 · 0 comments · Fixed by #111

Comments

@ghost
Copy link

ghost commented Aug 18, 2020

Hi, my name is Logan McNichols. I am an intern for Jupyter Cal Poly. I am working on a tabular data editor powered by the DataGrid along with @kgoo124 and @ryuntalan.

We are working on a design that involves painting LabIcons onto the DataGrid's canvas to correspond the the type of field in a given column. To achieve this, we would like to be able to extend the DataGrid class to add custom drawing functions. To do this, our class would need to be able to access some properties & methods of the DataGrid that are currently set to private.

The methods we would need access to are
_paintContent
_repaintContent
& _repaintOverlay

The properties we would need getters for are

  • _canvasGC
  • _rowSections
  • _columnSections
  • _columnHeaderSections
  • _rowHeaderSections.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants