[web2py] Re: Size of SQLFORM.grid items

2016-06-28 Thread Sneka R
Thanks a lot.

-- 
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.


[web2py] Re: Size of SQLFORM.grid items

2016-06-28 Thread Sneka R
Thanks a lot.

-- 
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.


[web2py] Re: Size of SQLFORM.grid items

2016-06-24 Thread Anthony
It's an argument of SQLFORM.grid.

-- 
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.


[web2py] Re: Size of SQLFORM.grid items

2016-06-24 Thread Sneka R
Where do we set the maxtextlength?

On Tuesday, June 14, 2016 at 4:46:05 AM UTC-5, Jitun John wrote:
>
> Thanks a lot Anthony. Works like Charm.
>
> On Monday, June 13, 2016 at 8:42:16 PM UTC+5:30, Anthony wrote:
>>
>> 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:
>>>
>>>
>>> 
>>>
>>>
>>> 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.


[web2py] Re: Size of SQLFORM.grid items

2016-06-14 Thread Jitun John
Thanks a lot Anthony. Works like Charm.

On Monday, June 13, 2016 at 8:42:16 PM UTC+5:30, Anthony wrote:
>
> 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:
>>
>>
>> 
>>
>>
>> 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.


[web2py] Re: Size of SQLFORM.grid items

2016-06-13 Thread Anthony
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:
>
>
> 
>
>
> 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.