How to make one column in dataframe as checkbox

Hello,

How to display dataframe like below and also trap the event when checkbox is checked/unchecked?

Accept         col1  col2
--------       ----  ----
checkbox       row1  row1
checkbox       row2  row2

Did find this:
https://www.jscodetips.com/examples/how-to-add-a-checkbox-in-pandas-dataframe

But it’s just showing the html text in the cell.

Also perhaps, there’s other way.

TIA.

Why don’t you try aggrid with a checkbox column?

Cheers

1 Like

Thank you. I will try that out.

So I guess, dataframe is not the practical way to do it.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.