<thead> required on datagrids

I'll start by saying I'm not a Yii coder, but when manipulating the front end I've noticed that when Yii creates datagrid tables, it correctly creates <tbody> and the first row cells are <th>.  However this first row should ideally be inside <thead> above <tbody>, but Yii doesn't create this code.

Can the datagrid be altered to include <thead> outside and above the <tbody> code please?  It makes formatting the header row independently of the datagrid body much simpler.

I hope this makes sense.

Done. Thanks!

Quote

Done. Thanks!

Thank you - much appreciated.  It’s only a little thing, but it’ll make a difference. :)