Is there any way to hide column by name

Tags: #<Tag:0x00007f8b2b11fe78>

Is there any feature in HOT to hide columns by name like we usually do as follow to hide columns

hiddenColumns: {
columns: [1,3,4,8],
indicators: true
},

but I want to do it like

hiddenColumns: {
columns: [‘id’,‘created_by’,‘last_modifed’],
indicators: true
}

is there any way to do it ? I want it like this way because when I reorder columns it becomes difficult to keep tract at backend

You can pass a function that takes column names are returns indexes. Here’s a simplified example https://jsfiddle.net/AMBudnik/4ufgs9b5/ (you just need to add a loop for multiple values).