Tweaks to DataTable docs. (#2481)

* Tweaks to DataTable docs.

Related PRs: #2479.

* Fix link.
This commit is contained in:
Rodrigo Girão Serrão
2023-05-04 14:55:14 +01:00
committed by GitHub
parent 04083a73f8
commit c4eda48a0a
3 changed files with 8 additions and 3 deletions

View File

@@ -59,9 +59,9 @@ If you want to change the table based solely on coordinates, you can use the [co
### Cursors
The coordinate of the cursor is exposed via the `cursor_coordinate` reactive attribute.
The coordinate of the cursor is exposed via the [`cursor_coordinate`][textual.widgets.DataTable.cursor_coordinate] reactive attribute.
Three types of cursors are supported: `cell`, `row`, and `column`.
Change the cursor type by assigning to the `cursor_type` reactive attribute.
Change the cursor type by assigning to the [`cursor_type`][textual.widgets.DataTable.cursor_type] reactive attribute.
=== "Column Cursor"