Tabulators Interface

class epyk.interfaces.tables.CompTabulator.Tabulators(ui)
figures(records=None, cols: Optional[list] = None, rows: Optional[list] = None, width: Union[int, tuple, str] = (100, '%'), height: Union[int, tuple, str] = (None, 'px'), html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)
Tags:

Categories:

Usage:

Related Pages:

Parameters:
  • records – Optional. The list of dictionaries with the input data

  • cols – Optional. The list of key from the record to be used as columns in the table

  • rows – Optional. The list of key from the record to be used as rows in the table

  • width – Optional. A tuple with the integer for the component width and its unit

  • height – Optional. A tuple with the integer for the component height and its unit

  • html_code – Optional. An identifier for this component (on both Python and Javascript side)

  • options – Optional. Specific Python options available for this component

  • profile – Optional. A flag to set the component performance storage

hierarchy(records=None, cols: Optional[list] = None, rows: Optional[list] = None, width: Union[int, tuple, str] = (100, '%'), height: Union[int, tuple, str] = (None, 'px'), html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)
Tags:

Categories:

Usage:

:param records: Optional. The list of dictionaries with the input data
:param cols: Optional. The list of key from the record to be used as columns in the table
:param rows: Optional. The list of key from the record to be used as rows in the table
:param width: Optional. A tuple with the integer for the component width and its unit
:param height: Optional. A tuple with the integer for the component height and its unit
:param html_code: Optional. An identifier for this component (on both Python and Javascript side)
:param options: Optional. Specific Python options available for this component
:param profile: Optional. A flag to set the component performance storage
intensity(records=None, cols: Optional[list] = None, rows: Optional[list] = None, width: Union[int, tuple, str] = (100, '%'), height: Union[int, tuple, str] = (None, 'px'), html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)
Tags:

Categories:

Usage:

Related Pages:

Parameters:
  • records – Optional. The list of dictionaries with the input data

  • cols – Optional. The list of key from the record to be used as columns in the table

  • rows – Optional. The list of key from the record to be used as rows in the table

  • width – Optional. A tuple with the integer for the component width and its unit

  • height – Optional. A tuple with the integer for the component height and its unit

  • html_code – Optional. An identifier for this component (on both Python and Javascript side)

  • options – Optional. Specific Python options available for this component

  • profile – Optional. A flag to set the component performance storage

multi(records=None, cols: Optional[list] = None, rows: Optional[list] = None, width: Union[int, tuple, str] = (100, '%'), height: Union[int, tuple, str] = (None, 'px'), html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

Generic Tabulator configuration to get the package plus all the add-ons for Formatters and Editors. In the basic Tabulator entry point only the ones used on the Python will be added to the JavaScript page.

This configuration will load all the external JavaScript features to allow the full customisation.

Tags:

Categories:

Usage:

Related Pages:

Parameters:
  • records – Optional. The list of dictionaries with the input data

  • cols – Optional. The list of key from the record to be used as columns in the table

  • rows – Optional. The list of key from the record to be used as rows in the table

  • width – Optional. A tuple with the integer for the component width and its unit

  • height – Optional. A tuple with the integer for the component height and its unit

  • html_code – Optional. An identifier for this component (on both Python and Javascript side)

  • options – Optional. Specific Python options available for this component

  • profile – Optional. A flag to set the component performance storage

table(records=None, cols: Optional[list] = None, rows: Optional[list] = None, width: Union[int, tuple, str] = (100, '%'), height: Union[int, tuple, str] = (None, 'px'), html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)
Tags:

Categories:

Usage:

data = [{"A": 1, "B": 2}]
table = page.ui.tables.tabulators.table(data, cols=["A"], rows=["B"])
table.on("dblclick", page.js.alert("test"), profile=False)
Parameters:
  • records – Optional. The list of dictionaries with the input data

  • cols – Optional. The list of key from the record to be used as columns in the table

  • rows – Optional. The list of key from the record to be used as rows in the table

  • width – Optional. The width of the component in the page, default (100, ‘%’)

  • height – Optional. The height of the component in the page, default (330, “px”)

  • html_code – Optional. An identifier for this component (on both Python and Javascript side)

  • options – Optional. Specific Python options available for this component

  • profile – Optional. A flag to set the component performance storage

trafficlights(records=None, cols: Optional[list] = None, rows: Optional[list] = None, width: Union[int, tuple, str] = (100, '%'), height: Union[int, tuple, str] = (None, 'px'), html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)
Tags:

Categories:

Usage:

Related Pages:

Parameters:
  • records – Optional. The list of dictionaries with the input data

  • cols – Optional. The list of key from the record to be used as columns in the table

  • rows – Optional. The list of key from the record to be used as rows in the table

  • width – Optional. A tuple with the integer for the component width and its unit

  • height – Optional. A tuple with the integer for the component height and its unit

  • html_code – Optional. An identifier for this component (on both Python and Javascript side)

  • options – Optional. Specific Python options available for this component

  • profile – Optional. A flag to set the component performance storage