DataGrid
The DataGrid component is used to edit and display data.
Preview
API Reference
prop | type | default | description |
---|---|---|---|
package | typing.Literal['flect'] | flect | None |
class_name | typing.Optional[str] | None | Specifies the Tailwind CSS classes for the component. |
model | typing.Type[pydantic.main.BaseModel] | None | Defines the data grid's data model. |
datasets | list[typing.Annotated[pydantic.main.BaseModel, SerializeAsAny()]] | None | Defines the data grid's datasets. |
submit_method | typing.Literal['POST', 'PUT', 'PATCH'] | POST | Specifies the HTTP method for form submission. |
submit_url | <class 'str'> | None | Specifies the URL where the form will be submitted. |
submit_text | typing.Optional[str] | None | Specifies the text for the submit button. |