[web2py] Re: sqlform.grid maxtextlengths shoots blanks

2017-07-26 Thread Anthony
On Tuesday, July 25, 2017 at 8:32:55 PM UTC-4, Seth J wrote: > > I have a similar problem with maxtextlengths and I do have the "represent" > attribute set like so: > Field('f_last_change', type='text', > label=T('Latest Changes'), > defa

[web2py] Re: sqlform.grid maxtextlengths shoots blanks

2017-07-25 Thread Seth J
I have a similar problem with maxtextlengths and I do have the "represent" attribute set like so: Field('f_last_change', type='text', label=T('Latest Changes'), default = '', represent=lambda text, row: HTML(XML('' i

[web2py] Re: sqlform.grid maxtextlengths shoots blanks

2015-06-12 Thread jackson . read
That dee On Friday, June 12, 2015 at 12:27:27 AM UTC-4, jackso...@quantachrome.com wrote: > > I get the same truncated display for the log message text no matter what I > set maxtextlengths...This app is rock+1 on the IQ simplicity scale and yet > it does not work...BTW: I removed all layouts s

[web2py] Re: sqlform.grid maxtextlengths shoots blanks

2015-06-12 Thread Anthony
Which version of web2py? Also, have you set the "represent" attribute on the field in question? And just to be clear, is the problem that the actual text truncation isn't happening where you expect, or is it just that the physical width of the table column is smaller than you'd like? Maybe show

[web2py] Re: sqlform.grid maxtextlengths shoots blanks

2015-06-12 Thread Massimo Di Pierro
Can you help us debug? What if you use grid(., maxtextlength=80) On Thursday, 11 June 2015 23:27:27 UTC-5, jackson.r...@quantachrome.com wrote: > > I get the same truncated display for the log message text no matter what I > set maxtextlengths...This app is rock+1 on the IQ simplicity sca