plotly / dash-table

OBSOLETE: now part of https://github.com/plotly/dash
https://dash.plotly.com
MIT License
420 stars 72 forks source link

Cell selection does not restore previous cell background after selection #716

Open claudioiac opened 4 years ago

claudioiac commented 4 years ago

I'm using a Dash table component with a custom background color (grey) defined with style_data_conditional. When I select any cell of my table the background color change to the selection color (hot-pink). When I then select another cell, the cell previously selected becomes white instead than the color I defined (grey). The color grey is restored only if the cell is redrawn either by a refresh or by a callback that update the table data model (this is an independent interaction) I tried this in Firefox and Chrome and I'm using the 1.9.0 version of Dash I think this is a bug and hope it can be fixed because it vanishes the custom table style. Alternatively it would be also good to have the option to disable the cell selection mechanism. Thanks