Black Lives Matter. Please consider donating to Black Girls Code today.

Add checkbox to each row of a table

Hi all,

I have a table with an image for every row. Because dash_table doesn’t support image (plz tell me I’m wrong), I have to use a regular table. I want to use a colum of checkboxes to select multiple rows (e.g. to subsequently filter them or mark them). How can I do this? Theoretically, maybe I can add multiple Inputs, one for each row. But this seems really weird that: 1. there can be hundreds of lines; 2. if some rows are removed, the numbers of rows, hence number of Inputs will change. How should I do this nicely?



1 Like