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])),
thanks Mark for this. will save and use it...
On Fri, Oct 5, 2012 at 5:02 PM, Mark czhang2...@gmail.com wrote:
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:
I was wondering about the previously. I haven't tried this yet, but as a
temporary workaround, are you able to insert buttons using JavaScript?
Thanks Ross. I'm not sure how to do it, plus to assign the same
functionality as existing buttons. Do you have some sample from your code?
Just tried the application also on the iphone, and (smartgrid) horizontal
scroll doesn't work there either... Practically, can't reach buttons :)
Anyone
I use sqlform.grid, I use 'links' for edit and delete. These appear as
buttons on the right hand column. I have no problem accessing these
buttons on my android phone. Are you sure you are attributing the
problem correctly? My web2py website is identical on my android phone
to what appears on a
Hi Peter...
I put a simple smartgrid together, with a longer text field... so this one
doesn't scroll horizontally for me. I'm not sure if it's something that we
did on css or somewhere, but i noticed it worked on ipad as it should...
here is the link:
Yes, I can not move right on your app. But surely the solution is to
find out your css's problem with android rather than move the buttons
to the left. There might be other reasons for the having the buttons
on the left, but buttons on the right work fine with android if one
can move right.
Peter
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
Still have to ask one more time about this possibility, or something else that
would help for mobile viewing of smartgrid. Just opened the application on iPad
and all is perfect, actually IMPRESSIVE. But on the android phone, I couldn't
scroll horizontally to reach buttons and that is a
Or the buttons in the right side could be next to the data fields and not
in the scrollable area...
10 matches
Mail list logo