def GenericInteractHandler(widget, new_value, column_name, index):
    """Generic callback for interactive value updates."""
    widget.update_dataframe(new_value, column_name, index)
    return new_value