jqgrid header caption

15 views
Skip to first unread message

Massimiliano

unread,
Jul 23, 2010, 4:54:09 AM7/23/10
to web...@googlegroups.com
Hi,

I would to propose a little modify to use field.label as header caption in plugin_jqgrid:

just replace the line:
    colnames = [x.replace('_',' ').capitalize() for x in columns]  

with
    colnames = [table[c].label or c.replace('_',' ').capitalize() for c in columns]



--
Massimiliano
Reply all
Reply to author
Forward
0 new messages