Hi Komal,
You can achieve this with datagrid 2 using the custom content option.
Marketplace link: https://marketplace.mendix.com/link/component/116540
Try make editable to Yes in data grid if that will fullfill your requirement else Datagrid 2 is best option.