This is my working code:
http://snipt.net/rochacbruno/virtual-fields-in-sqltabe
Note the headers=None
So need to patch the header definition to use the virtualfieldname, or
better, *How to define a label for a virtual field?*
*
*
for work with SQLTABLE (or plugin_datatable) we need to add the colname for
every virtual field: *myrows.colnames.append('task.teste')*
*How to append every virtual field to rows.colnames?* I think this could be
done in sqlhtml.py as:
for field in sqlrows.virtualfields:
sqlrows.colnames.append('tablename.'+field)
*Is it possible?*