how to set column name in mui datatables using object key

I’m trying to use an object key to set the name of a column in MUI Datatables. I’m trying to set one of the column names with the first element of children.childName so that in that column it will …