Composants → bpm.dataExplorer

bpm.dataExplorer

Explorateur de données (table, recherche, tri, pagination, export CSV).

StableIA & Spécialisés⏱ 2 min

Participants

1Alice8515/01/2024
2Bob7220/02/2024
3Claire9110/03/2024
Python
bpm.dataExplorer(data=rows, title="Participants")
PropTypeDéfautRequisDescription
dataRecord<string, unknown>[]OuiDonnées à afficher (tableau d'objets).
columnsColumnDef[]NonDéfinition des colonnes (key, label, type?, sortable?, filterable?). Inférées si absentes.
titlestringNonTitre au-dessus du tableau.
searchablebooleantrueNonAfficher le champ recherche.
exportablebooleanfalseNonAfficher le bouton Exporter CSV.
pageSizenumber20NonNombre de lignes par page.
classNamestringNonClasses CSS.

Exemples

bpm.dataExplorer(data=rows)
bpm.dataExplorer(data=rows, title="Export", searchable=True, exportable=True)
bpm.dataExplorer(data=rows, columns=[{"key": "name", "label": "Nom", "type": "text", "sortable": True}]}
bpm.dataExplorer(data=rows, pageSize=10)