cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Add prefix to each column

Ajay_Chawda
Contributor

Hello Experts,
for eg. if i have 50 columns and wanted to add some prefix to each column value then without mapping individual column in mapper how can i do it?

Regards,
Ajay

1 REPLY 1

alchemiz
Contributor III

Hi Ajay,

You can always use the object function mapKeysโ€ฆ

example: $.mapKeys((val,key)=> โ€˜MyStaticPrefix_โ€™.concat(key))

Thanks