panel.models.tabulator module#

Implementation of the Tabulator model.

See http://tabulator.info/

class panel.models.tabulator.CellClickEvent(model, column, row, value=None)[source]#

Bases: ModelEvent

class panel.models.tabulator.DataTabulator(*args: Any, id: ID | None = None, **kwargs: Any)[source]#

Bases: HTMLBox

A Bokeh Model that enables easy use of Tabulator tables See http://tabulator.info/

Attributes:
aggregators
buttons
cell_styles
children
columns

The list of child column widgets.

configuration
container_popup
download
editable
embed_content
expanded
filename
filters
follow
frozen_rows
groupby
hidden_columns
indexes
layout
max_page
movable_columns
page
page_size
pagination
select_mode
selectable_rows
sorters
source
theme_classes
columns#

The list of child column widgets.

class panel.models.tabulator.SelectionEvent(model, indices, selected, flush)[source]#

Bases: ModelEvent

class panel.models.tabulator.TableEditEvent(model, column, row, value=None, old=None)[source]#

Bases: ModelEvent

class panel.models.tabulator.TabulatorColumn(*args: Any, id: ID | None = None, **kwargs: Any)[source]#

Bases: Model

Column definition for the DataTabulator model. Unlike Bokeh’s TableColumn the formatter and editor are plain specs, so the bokeh-tables bundle is not required to render a Tabulator.

Attributes:
editor

Spec of a Bokeh CellEditor or a custom CellEditor model.

field

The name of the field mapping to a column in the data source.

formatter

Spec of a Bokeh CellFormatter or a custom CellFormatter model.

title

The title of this column.

width

The width of the column, zero means it is determined automatically.

editor#

Spec of a Bokeh CellEditor or a custom CellEditor model.

field#

The name of the field mapping to a column in the data source.

formatter#

Spec of a Bokeh CellFormatter or a custom CellFormatter model.

title#

The title of this column.

width#

The width of the column, zero means it is determined automatically.