How to add gridlines to a template_list?

Hi all,

I am working on a script with a template_list with multiple columns. How do I add grid lines to each column just like in the outliner?

Thanks.