Skip to content

Commit

Permalink
docs(datatable): remove outdated cursor info (#5355)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomJGooding authored Dec 9, 2024
1 parent aef7c9e commit fe5b37a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/widgets/data_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ and the [`hover_coordinate`][textual.widgets.DataTable.hover_coordinate] reactiv
then emits the [`CellHighlighted`][textual.widgets.DataTable.CellHighlighted] and [`CellSelected`][textual.widgets.DataTable.CellSelected]
events.

A new table starts with no cell highlighted, i.e., row and column are zero. You can force the first item to highlight with `move_cursor(row=1, column=1)`. All row and column indexes start at one.

=== "Column Cursor"

```{.textual path="docs/examples/widgets/data_table_cursors.py"}
Expand Down

0 comments on commit fe5b37a

Please sign in to comment.