Hi Houssam Smail,
You need to manually add those csv fieldInfo based on your schema and loaded as fieldInfos inside of FeatureTable Widget. And you probably need to setup proxy to make sure the requests pass the CORS, or put your csv file and application in the same web domain.
Here is a proof of concept that you can basically merge these two samples together to make the csvlayer sample with featureTable sample:
JS Bin - Collaborative JavaScript Debugging
Hope this can provide you some inspiration to do.
Best Regards,
Nathan