On Monday, July 24, 2017 at 2:04:19 AM UTC-4, rāma wrote:
>
> Still no solution?
>
The grid now includes a element with elements like the
following:
So, you can use CSS rules to control the width of columns based on field
names or column numbers.
Anthony
--
Resources:
- http://web2py.com
Still no solution?
On Wednesday, 5 October 2011 19:37:39 UTC+8, Anthony wrote:
>
> I think if you specify a much longer maxtextlength, the text will
> ultimately wrap, but it may cause the column to be much wider than you
> want. Maybe all the th's and td's should include column-specific classes
I think if you specify a much longer maxtextlength, the text will ultimately
wrap, but it may cause the column to be much wider than you want. Maybe all
the th's and td's should include column-specific classes so we can use CSS
to control the width and other attributes of each column.
Anthony
On 3 October 2011 20:02, Massimo Di Pierro wrote:
> maxtextlengths={'tablename.fieldname':20}, # per field
> maxtextlength=20, # default
>
>
It would be nice to have a possibility to wrap text in a column.
Regards
Johann
--
May grace and peace be yours in abundance thr
maxtextlengths={'tablename.fieldname':20}, # per field
maxtextlength=20, # default
On Oct 3, 5:50 am, David Marko wrote:
> Here is the complete signature of grid method from source there is
> really no truncate param.
>
> def grid(query,
> fields=Non
Here is the complete signature of grid method from source there is
really no truncate param.
def grid(query,
fields=None,
field_id=None,
left=None,
headers={},
columns=None,
orderby=None,
searchable=T
On 1 October 2011 05:28, Bruno Rocha wrote:
> grid should have a truncate parameter.
It seems that there is none at the moment. I got
TypeError: grid() got an unexpected keyword argument 'truncate'
when trying
form = SQLFORM.grid(query, columns = columns,deletable = False,
grid should have a truncate parameter.
A partial reply to my own questions:
I was wondering about grid/smartgrid: currently we can use
maxtextlength=XXX to indicate the max length of a column. If the real
length is longer than XXX, the text is chopped at a suitable length
and "..." is added to it.
If you configure a long maxtextlengt
9 matches
Mail list logo