Yes..Now it works.. I was returning row object back from myformat function. 
Web2py was internally creating tables when it encounters a row object. But 
when i changed the myformat function to return data formatted as divs, it 
is working as expected.. 

Thanx for the help

On Sunday, September 22, 2013 1:49:56 AM UTC+5:30, Anthony wrote:
>
>
> mydisplay = myformat(grid.rows)
>> grid.element('.web2py_table', replace=mydisplay)
>>
>
> The above should work (works for me). Can you show more of your code and 
> the resulting HTML?
>
> Anthony
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to