tomt wrote:
I wanted to implement the 'extracolumns' feature of SQLTABLE
and the example provided in the source code is:
:param extracolums = [{'label':A('Extra',_href='#'),
'class': '', #class name of the header
'width':'', #width in pixels or %
Thanks for your response.
Using your suggestion of implementing a controller helped me to see
that
defining the 'content' statement in extracolumns causes SQLTABLE to
pass
the current record and rc(rowcount) to be used by a controller
or function, that can then be used by the A() helper.
- Tom
O
I found the cause of the problem: I used the suggest-widget with the doc_nr
field and specified an id-field without specifying 'keyword' as in the
documentation. This worked well in SQLFORM.factory but not in the model.
Removing the 'id_field' argument solved the problem.
Regards
Johann
--
Bec
Apologies, I replied to the wrong thread. Ignore my previous email in this
context please.
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)
4 matches
Mail list logo