Massimo Di Pierro | 29 May 2012 15:22
Picon

Re: SQLTABLE row number

Do not use SQLTABLE but enumerate records as you loop over them



<table>
{{for k,row in enumerate(rows):}}
<tr><td>{{=k}}</td><td>{{=row.field}}</td>...</tr>
{{pass}}
</table>


On Tuesday, 29 May 2012 03:14:31 UTC-5, Pradeesh wrote:
How can I display a sequence number in the web2py SQLTABLE. I have tried to display the database ID field. but if I am deleting any record. The sequence number order is missing.
Please advice.

Gmane