bpm.dataExplorer
Explorateur de données (table, recherche, tri, pagination, export CSV).
Python
bpm.dataExplorer(data=rows, title="Participants")| Prop | Type | Défaut | Requis | Description |
|---|---|---|---|---|
data | Record<string, unknown>[] | — | Oui | Données à afficher (tableau d'objets). |
columns | ColumnDef[] | — | Non | Définition des colonnes (key, label, type?, sortable?, filterable?). Inférées si absentes. |
title | string | — | Non | Titre au-dessus du tableau. |
searchable | boolean | true | Non | Afficher le champ recherche. |
exportable | boolean | false | Non | Afficher le bouton Exporter CSV. |
pageSize | number | 20 | Non | Nombre de lignes par page. |
className | string | — | Non | Classes 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)