Icon

    This feature is available since BellaDati 2.9.4

    It is possible to define a custom renderer which will be used to display a specific chart or table. This renderer is defined in an extension. The user then has the option to select the renderer in chart appearance or table appearance settings.

    Extension structure

    • Empty HTML head and HTML body 
    • Resources
      • table-renderer.js implementing rendeTable_ext(containerDiv, tableJSON) function
      • table-styles.js defining styles of the table

    Content of table-renderer.js

    Javascript responsible for rendering HTML content of the table. Function takes two parameters containerDiv selector and tableJSON holding JSON table data produced by BellaDati (see Report API).

    Content of table-styles.css

    Sample extension

    Extension-SimpleTableRenderer.zip

    • No labels