I can add a new column and a new row

This commit is contained in:
2026-02-26 22:44:35 +01:00
parent b383b1bc8b
commit c07b75ee72
10 changed files with 311 additions and 108 deletions

View File

@@ -151,18 +151,6 @@ The DataGrid automatically detects column types from pandas dtypes:
| `datetime64` | Datetime | Formatted date |
| `object`, others | Text | Left-aligned, truncated |
### Row Index Column
By default, the DataGrid displays a row index column on the left. This can be useful for identifying rows:
```python
# Row index is enabled by default
grid._state.row_index = True
# To disable the row index column
grid._state.row_index = False
grid.init_from_dataframe(df)
```
## Column Features