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

Styling individual selections in the Datagrid selection model #97

Open
kgoo124 opened this issue Jul 27, 2020 · 0 comments
Open

Styling individual selections in the Datagrid selection model #97

kgoo124 opened this issue Jul 27, 2020 · 0 comments

Comments

@kgoo124
Copy link
Contributor

kgoo124 commented Jul 27, 2020

Hi, I am one of the Cal Poly interns working on the Tabular Data Editor extension. We are looking to have some dashed borders around a cell when it has been copied, but not yet pasted. We have an issue here that has a picture of what we are looking to do.

It looks like all the potential Selections are stored in an array that is painted in datagrid.ts, but there is no way to isolate these selections. Some possible solutions would be using a CSS class and assigning a different render to a specific cell. The solution should be easily applied/removed. In our case, we would only want the dashed border to show up after copy, but before paste.

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