DropDownDataGrid and column template

How to implement column templates in DDDG? I tried a solution from DataGrid but it went wrong. Is there any example?