Loading nested data to datatable

What’s the proper way to use nested data in Datatable (using Angular)?

Data:
{
id: 1,
code: ‘something’,
customer: {
name: ‘My Customer’
}
}

How do I refer to customer.name as table field?
columns[{id: ‘customer.name’}] does not work.

you can use

columns[
  {id: 'name', template:"#customer.name#" }
] 

That does the trick indeed. Thansk!