Closed skalkin closed 8 months ago
This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14908
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');
PowerGrid 1.3.0
This cell type should show a number of check boxes within a cell. It will work in two scenarios:
.choices
tag. When you click on an option, cell value changes.https://community.datagrok.ai/t/add-multiple-check-box-and-dropdown-list-to-cell-of-table/835/9