I met the same problem and found a solution. I changed the id field into a
button, and actually, any fields can be buttons or links in the grid.
For example:
db.person.id.represent=lambda id,r:
DIV(A('View',_class='button',_href=URL('table',args=['person','view','person',r.id])),
_class='row_buttons')
db.person.name.represent=lambda name,r:
A(r.name,_href=URL('table',args=['person','edit','person',r.id]))
On Thursday, February 9, 2012 10:09:36 PM UTC-5, Adi wrote:
>
> Thanks Peter... still looking, and tried even some other applications,
> with original css, but didn't manage to scroll horizontally. If anyone has
> any ideas, please share :)
>
> Having an option to have buttons either on the left or right side, was
> just a suggestion... Our Customer Service and Call Center agents move
> quickly from order to order, and need many fields (name, phone #, several
> dates, etc) up front in smartgrid, so buttons get pushed into the scrolling
> area. It would help having them on the left, but there are other bigger
> things to finalize now :) What's impressive is how much can be accomplished
> through grid and smartgrid. Fantastic core component of the framework!
>
> Anyway, thanks for your help.
>
> Adi
>
--