I hope everyone goes well.
Recently I would like to add multiple check box and/or drop down list to a cell of the table. Is it possible to datagrok?
Single checkbox is available when I added column as boolean as a coulmn type.
Hi Taka, I just wonder what you wanted to use multiple checkbox for? While you can do the sort of customizations that Alexander described, perhaps there is a simpler way to achieve your goal.
Regarding choices, there is a way to enforce a controlled vocabulary where the only way to edit a value is to use a drop-down list. Click on a cell in a column to make it current, then press F2 to open column properties, and add the .choices tag like shown in the picture:
Thaks for your advice!
.choices option seems nice because it is easy to use however I would like to add multiple check box on the cell of Hit triage and Hit design if possible. @alex.paramonov if I would like to add the following function to my own datagrok env, how can I do it?
Thanks for your reply. I would like to track hypothesis or objective of the each design. How everr unstructured format such as comment cell is not useful for analysis.
So I would like to simple checkbox cell for the porpose.
For example check box like…
Hi @seritaka.gmail.com, got it, thanks for the explanation. This looks like a good feature that Datagrok should provide out-of-the-box. Here’s the corresponding ticket; I won’t take long to implement, and I think it will be a part of the existing PowerGrid package, so there is no need to wait for the new core release. Stay tuned
Almost done (as well as the somewhat connected “tags” cell type).
Currently, it works with cells where values are comma-separated, and a special “.choices” tag that defines all possible values. Will that be enough for your needs? We were also planning to make this cell type work with this table’s boolean columns, that might be useful as well.
As Andrew said, we’ve implemented the MultiChoice cell renderer and the Tags cell renderer. It is already available in the PowerGrid package v1.3.0. However, this is still a beta version, so use it at your own risk.
In the code below you can see how to set the cell renderer to the needed type.