Dash AG Grid: how to disable checkbox?

I have an ag grid where one of the columns is a checkbox.

I do not want this checkbox to be editable.

I just want it to show the underlying boolean value.

I’m essentially just doing this:
entry[‘cellRenderer’] = ‘Checkbox’
entry[‘minWidth’] = 110

I have tried:
entry[‘checkboxSelection’] = False
and
entry[‘checkboxSelection’] = ‘False’
and
entry[‘editable’] = False
and
entry[‘disabled’] = True

and none of them make the checkbox un-editable.

Can someone please tell me the right approach here?

Thanks!

Hello @zack_nc,

If you are using a cellRenderer for this, then you need to put disabled=True in the definition.

If you want to not allow the selection event, then you need to check out here:

It looks like you need to display the disabled selection boxes by adding this to the columnDef:

showDisabledCheckboxes=True

2 Likes