Re: [web2py] Smartgrid line color

2013-08-29 Thread António Ramos
Many thanks for your time. I will think about it tomorrorw. 2013/8/29 Roberto Perdomo > Hi António, > > You can use a conditional represent to change the color of the date field > in your outdated record. > > something like: > > 1) db.table.field.represent =lambda value, row: " COLOR='red'>"+v

Re: [web2py] Smartgrid line color

2013-08-29 Thread Roberto Perdomo
Hi António, You can use a conditional represent to change the color of the date field in your outdated record. something like: 1) db.table.field.represent =lambda value, row: ""+value+"" if CONDITION else value Or you can put the outdated field inside an specific div with an id and iterate over

[web2py] Smartgrid line color

2013-08-29 Thread António Ramos
Hello , i need a table (smartgrid) that highlights outdated records, for example forcing the outdated record line inside the table to be filled with red background and yellow text. Can i do it with form.smartgrid? Thank you António -- --- You received this message because you are subscribe