First Working version. I can add table
This commit is contained in:
15
src/pages/another_grid.py
Normal file
15
src/pages/another_grid.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import pandas as pd
|
||||
|
||||
from components.datagrid.DataGrid import DataGrid
|
||||
|
||||
data = {
|
||||
'Name': ['Kodjo', 'Kokoe', 'Aba', 'Koffi'],
|
||||
'Age': [49, 51, 46, 51],
|
||||
'City': ['Rosny', 'Nangis', 'Rosny', 'Abidjan']
|
||||
}
|
||||
|
||||
df = pd.DataFrame(data)
|
||||
|
||||
|
||||
def get_datagrid2():
|
||||
return DataGrid(df, id="another grid")
|
||||
Reference in New Issue
Block a user