Thanks again Paco Bernal, I can finally move on to other things. Regards;
Mostwanted On Sunday, September 15, 2019 at 1:01:02 PM UTC+2, Paco Bernal wrote: > > > > * Is there a way i could choose what gets displayed in the view & what >> doesn't get displayed from the database table based on its content using >> only python??* >> >> > > {{for p in products:}} > <tr class="{{='hidden' if p.Quantity==0 else ''}}"> > <td>{{=p.whatever}}</td> > </tr> > {{pass}} > > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/9e5298f8-1f54-4c16-84fb-14624d883336%40googlegroups.com.