dash-docs icon indicating copy to clipboard operation
dash-docs copied to clipboard

missing row id examples for datatable

Open chriddyp opened this issue 5 years ago • 4 comments

chriddyp avatar Mar 02 '20 20:03 chriddyp

https://github.com/plotly/dash-table/pull/412

chriddyp avatar Mar 02 '20 20:03 chriddyp

would be good to look through the community forum for examples & motivation

chriddyp avatar Jul 04 '20 01:07 chriddyp

Props using row ids:

  • derived_viewport_row_ids
  • derived_viewport_selected_row_ids
  • derived_virtual_row_ids
  • derived_virtual_selected_row_ids
  • selected_row_ids
  • active_cell.row_id
  • end_cell.row_id
  • selected_cells.row_id
  • start_cell.row_id

Marc-Andre-Rivet avatar Aug 20 '20 15:08 Marc-Andre-Rivet

in particular, the example should display some best practices on how and when to use row_ids. this might include:

  • setting row ids with df.index
  • reading the row ids back via selected_row_ids
  • explain how row ids are like a invisible column

chriddyp avatar Aug 24 '20 23:08 chriddyp