Step1 – Create a new Lightning Web Component
In this step, we will create a lightning web component which will extend the LightningDatatable like belowexport default class ExtendedDataTable extends LightningDatatable { }
Extending LightningDatatable will help us to create our own Lightning DataTable Data Type
Step2 – Create a Custom DataType for Custom Lookup
Now, as you have created the new component, in the js file of the same component create a custom datatype like below.

Step3 – Create a new html file inside the Same Web Component
Now, you need to create the .html file inside the same Web Component. here is the sample code which is using a search component which is actually used for custom Lookup

Step4 – Prepare the Custom Lookup Columns for DataTable
Now, we need to create a new Lighting Web Component which will be using the component which we have created on the top.Once you have created the component, you need to prepare the columns for data table like below

Here is the code for Custom Picklist

Here is the code for custom file upload
