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

#2681: PowerGrid: Tags cell renderer #2681

Closed
skalkin opened this issue Feb 13, 2024 — with Board Genius Sync · 3 comments
Closed

#2681: PowerGrid: Tags cell renderer #2681

skalkin opened this issue Feb 13, 2024 — with Board Genius Sync · 3 comments
Assignees
Labels
enhancement New feature or request NX NIBR-related

Comments

Copy link
Collaborator

skalkin commented Feb 13, 2024

Efficient color-coded representation of tags (comma-separated strings in a cell). Somewhat similar to #2673. This is how this will look:

image

@skalkin skalkin self-assigned this Feb 13, 2024
Copy link
Member

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14948

@ahadzhanian ahadzhanian added enhancement New feature or request NX NIBR-related labels Feb 13, 2024
@dnillovna dnillovna changed the title PowerGrid: Tags cell renderer #2681: PowerGrid: Tags cell renderer Feb 15, 2024
LaykDimon added a commit that referenced this issue Feb 19, 2024
@ahadzhanian
Copy link
Collaborator

PowerGrid 1.3.0

@ahadzhanian
Copy link
Collaborator

const df = grok.data.demo.demog(100);
grok.shell.addTableView(df);
const dis = df.col('disease');
const site = df.col('site');
dis.set(0, 'Anxiety, Glaucoma');
dis.set(1, 'Hepatitis A, Glaucoma');
dis.setTag(DG.TAGS.CHOICES, JSON.stringify(['Anxiety', 'Hepatitis A', 'Glaucoma']));
dis.setTag(DG.TAGS.CELL_RENDERER, 'MultiChoice');
site.setTag(DG.TAGS.CELL_RENDERER, 'Tags');

@dnillovna dnillovna added 1.19.0 and removed 1.19.0 labels May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request NX NIBR-related
Projects
None yet
Development

No branches or pull requests

3 participants