As per the documentation:
- maxtextlength sets the maximum length of text to be displayed for each field value, in the grid view. This value can be overwritten for each field using maxtextlengths, a dictionary of 'tablename.fieldname':length e.g. {'auth_user.email' : 50} Anthony On Monday, June 13, 2016 at 10:41:15 AM UTC-4, Jitun John wrote: > > > <https://lh3.googleusercontent.com/-wsESc_VvGp0/V17EfIsoJFI/AAAAAAAACQI/UrNxJJN0KqsSFmSiPTgrDAAMCLFLDseyACLcB/s1600/grid.jpg> > > > Above is a simple SQL.grid I have used. > I added "headers={'store_log_stats.cluster_name' : > 'Cluster______________________________Name'}," to make sure that the > column had enough space. > But even with enough space, the data is concatenated. > Actual names are "Cluster-LH-P4530-13-14", "Cluster-LH-P4530-11-12" > > Just wondering how to make sure the Cluster name is displayed in full. > -- 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/d/optout.