How to change default Column names(Column1,Column2…) generated from Generate Data Table Activity.
1 Like
Hi @sarathi125 ,
Thank you for the response.
If i check this option,column headers are not adding but i want to change the column names to my own column names.
Hi @RajeshT
Try using as below
YourDt.column(yourCurrentColumnName).ColumNname= yourNewColumnName
You can use this inside loop as well such as
While i< yourDt.columns.count
Hope this will work for you.
Thanks
4 Likes
Hi @RajeshT,
Can you try using it as below.
FilterData.column(i).ColumNname=“PolicyNumber”
BTW, what is the value assigned to var PolicyNumber?
Make sure increment i.
1 Like
FilterData.column(i).ColumNname=“PolicyNumber”
This is working fine @Deepak94 .
Thanks ton!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.