added export of template in the grid