[SalesForce] How to add a radio button in lwc datatable

I am trying to add a radio button at the end of a datatable row, so basically I need two selection option, one is the checkbox given by default which is shown at the very front of each row, and a radio button at the last of the row, I can insert a button but changing the column attribute type to 'radio' is not working for me.

{type: "radio", initialWidth: 50, typeAttributes: {
label: '',
value: '' }}

enter image description here

Best Answer

radio is not a supported data type. You would need to make a custom data type, as written in the documentation under "Creating Custom Data Types".