Hi All,
I would like to add a counter to a gridview as a column.
I need it to always count from 1 up to number of columns visible.
Any help appreciated.
Paul.
Hi All,
I would like to add a counter to a gridview as a column.
I need it to always count from 1 up to number of columns visible.
Any help appreciated.
Paul.
extend CGridColumn class and write your own logic…
Thanks I figured it out.
This link may also help:
http://www.yiiframework.com/wiki/278/cgridview-render-customized-complex-datacolumns/