Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

docs(controls): Minor changes #10

Merged
merged 1 commit into from
Feb 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We want the state of the DataTable to be external of it,
so we need some kind of data structure outside the control
to dictate what the DataTable displays.

Lucky for us, python has immaculate support for table-like data structures!
Lucky for us, python has immaculate support for tabular data structures!
You have probably heard of pandas DataFrames,
and they would have been an acceptable choice for our model.
But since performance is very important here
Expand All @@ -38,7 +38,7 @@ to customize as much as possible from the outside.
These parameters have been organized into two Config dataclasses:
`DataTableConfig` for every parameter relating to `flet.DataTable`
and `ModelDataTableConfig` for everything that comes on top and the ref,
because that has to be passed to `flet.UserControl.__init__()`.
because the latter has to be passed to `flet.UserControl.__init__()`.
It also takes a `polars.DataFrame` instance as a parameter
and makes that its initial model.
By default, `ModelDataTable` creates a `flet.DataTable` instance internally
Expand Down Expand Up @@ -75,7 +75,7 @@ This makes it way easier to search the model
without knowledge of its exact schema
and may aid you when dealing with "truly" dynamic data as well.

##### Examples
#### Examples

Static dataset that needs to be searchable:

Expand Down