Spaces:
Running
Running
Commit
·
a7f91b5
1
Parent(s):
fbcd70e
mod - modify title
Browse files
app/ui/pages/data_page.py
CHANGED
@@ -160,13 +160,11 @@ grid_options = {
|
|
160 |
}
|
161 |
}
|
162 |
|
163 |
-
# 使用AgGrid并设置 `onGridReady` 事件来自动调整列宽,延迟调用
|
164 |
ag = AgGrid(
|
165 |
df,
|
166 |
enable_enterprise_modules=False,
|
167 |
gridOptions=grid_options,
|
168 |
allow_unsafe_jscode=True,
|
169 |
columns_auto_size_mode=ColumnsAutoSizeMode.FIT_CONTENTS,
|
170 |
-
theme="streamlit",
|
171 |
-
# onGridReady 可选
|
172 |
)
|
|
|
160 |
}
|
161 |
}
|
162 |
|
|
|
163 |
ag = AgGrid(
|
164 |
df,
|
165 |
enable_enterprise_modules=False,
|
166 |
gridOptions=grid_options,
|
167 |
allow_unsafe_jscode=True,
|
168 |
columns_auto_size_mode=ColumnsAutoSizeMode.FIT_CONTENTS,
|
169 |
+
theme="streamlit",
|
|
|
170 |
)
|