On Wednesday, May 27, 2015 at 10:16:53 PM UTC-7, Paul Coy wrote:
>
> In the Web2Py Cookbook, Ch3 there is a section called "Efficiently 
> searching by tag" which works quite well, thanks. I've been playing with it 
> and when I enter more than 16 characters to the data.value the data shows 
> up as 15 characters followed by "...". this happens with the results "rows" 
> also. How do I expand the size of the field or fields to show the whole 
> data string". The view seems quite simple but it's just not obvious to me 
> where to adjust field sizes. If someone could point me in the right 
> direction that would be appreciated. Thanks
>  
>

I'm not familiar with the example code, or how you're trying to view 
things, but perhaps you need to change something that looks like
{{=SQLTABLE(rows,linkto,upload,orderby=True,_class='sortable')}}
to something that looks like
{{=SQLTABLE(rows,linkto,upload,orderby=True,_class='sortable', truncate=40
)}}


(My example comes out of a tweak I've done my app's appadmin.html)

/dps

 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to