Hi I am a starter with Panel, and trying to render a DataFrame
, where one of the fields is a potentially long text. The text field does not wrap as of now, and I have tried the solution here.
With the latter I get a warning:
WARNING:param.Tabulator00158: Setting non-parameter attribute formatter={'TEXT': {'formatter': 'textarea'}} using a mechanism intended only for parameters
Here is a short snippet that hopefully shows the incident:
tabulator_formatters = { 'TEXT': {'formatter': 'textarea'}}
edit_table = pn.widgets.Tabulator(df.head(10),
layout='fit_data_fill',
sizing_mode='stretch_width',
formatter=tabulator_formatters)
edit_table
‘TEXT’ above, is the column containing the long texts.