I am trying to create a grid of drop down menus. I was hoping something along the lines of the following would work:
using Interact
M = 2
N = 3
options = Observable(["a", "b"])
c = repeat([dropdown(options)],M,N)
display.(c)
Here, the appropriate number of dropdown boxes are generated and displayed, but they are not displayed in a MxN grid. Changing display.(c)
to display(c)
doesn’t generate the widgets.
Does anyone have thought on how best to go about this?