If you wish to use the icons from the CSS templates just add:

SPAN(_class='check icon')


like this custom button:

links = [lambda row: A(SPAN(_class='check icon')

,'Byte Me'

,_class='button'

,_title='Byte Me'

,_href=URL(args=["view", db.person, row.id])

)]


Read the

On Saturday, October 29, 2011, Nik Go wrote:

> That's nice Peter. Good work!
>
> Thanks for sharing.
>
> On Wednesday, October 26, 2011, peter wrote:
>
>> I am using and enjoying sqlform.grid. I have the latest version of
>> web2py, however, I think that the css files within my application have
>> become out of date.
>>
>> If I have ten pages, then the page numbers appear vertically rather
>> than horizontally at the bottom of the table.
>>
>> What css files do I need to copy into my application to keep the css
>> up to date for the grid?
>>
>> Thanks
>> Peter
>
>

Reply via email to