- Open command prompt.
- Clone the repo using below command.
git clone https://github.com/rahulgawale/dynamic-columns-datatable.git
- Open the project directory using the command below.
cd dynamic-columns-datatable
- Open VS Code with command
code .
. - Authorize your org and deploy the components into your target org.
- Deploy below mentioned components to your org.
- classes
- lwc
- objects
- customMetadata
- This will deploy all the code to your org including the sample custom metadata records.
Read more: LWC DataTable With Dynamic Columns Controlled By Custom Metadata