I have a dash_table.DataTable() with a MultiIndex header where I would like to tooltip, with a markdown table in it. This is my list based dicts for each tooltip:
{
‘_’.join(lst_tooltip_headers[0]): {
‘value’: markdown_table, → Table highly inspired from source documentation
‘type’: ‘markdown’
}
}
This dict is iterated for each row in my dataframe/dict that I use as data, thus nested dicts in an overall list.
The error is: "Invalid argument ‘tooltip’ passed into DataTable. Expected and object. Was supplied type ‘array’.
I have compared tooltip output with other code I have, where I do not get this error, thus I suspect I’m doing something wrong related to the MultiIndex header.