> The handlers like "on_dropdown_change" should receive an argument for the cell it's coming from
They do! If you define a function that does not take a parameter it is all fine, but we introspect if you do and if so, pass on an event object:
def on_dropdown_change(value, event): event.cell.set_background_color(value * 50 + 100, 100, 100)
would change the cell with the drop down's background color based on the value selected
> The handlers like "on_dropdown_change" should receive an argument for the cell it's coming from
They do! If you define a function that does not take a parameter it is all fine, but we introspect if you do and if so, pass on an event object:
def on_dropdown_change(value, event): event.cell.set_background_color(value * 50 + 100, 100, 100)
would change the cell with the drop down's background color based on the value selected