Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

[BUG] active_cell docstring is wrong - No key 'row_id' for active_cell in dash_table.DataTable #651

Description

@Aryalexa

Hello.
I'm working with dash_table.DataTable and reading the docs I found row_id in the active_cell argument. Examples on the Dash web are using it (https://dash.plot.ly/datatable/interactivity).

- active_cell (dict; optional): The row and column indices and IDs of the currently active cell. 
active_cell has the following type: dict containing keys 'row', 'column', 'row_id', 'column_id'.
Those keys have the following types:
  - row (number; optional)
  - column (number; optional)
  - row_id (string | number; optional)
  - column_id (string; optional)

Context

  • dash libraries
dash                               1.4.1
dash-core-components               1.3.1
dash-daq                           0.2.1
dash-html-components               1.0.1
dash-renderer                      1.1.2
dash-table                         4.4.1

The bug

It seems active_cell['row_id'] is not supported.
This is what I get exploring the active_cell dictionary

', '.join(['{}:{}'.format(k, v) for k, v in active_cell.items()])
# result: row:5, column:4, column_id:Company

I also have a screenshot where I force the code to get the value and get an error.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions