[web2py] Is there anyway to disable search and export sections in SQLFORM.grid

2016-02-09 Thread SanDiego
The only way I can disable search and exports sections is through 'display:none;' style option. Is there any settings to disable them? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/iss

[web2py] SQLFORM buttons are misaligned

2016-02-09 Thread SanDiego
When used with buttons as follows, SQL form misses the offset causing the buttons misplaced towards left (see buttons-misaligned.png file). buttons = [ TAG.button(T('Save'),_type="submit",_value="save",_class="btn btn-primary"), TAG.button(T('Cancel'),_type="button", _class="

[web2py] Re: Is there anyway to disable search and export sections in SQLFORM.grid

2016-02-10 Thread SanDiego
=False) > > Anthony > > On Tuesday, February 9, 2016 at 3:26:04 PM UTC-5, SanDiego wrote: >> >> The only way I can disable search and exports sections is through >> 'display:none;' style option. Is there any settings to disable them? >> > --

[web2py] IS_SET_DB using

2016-04-05 Thread SanDiego
I wanted to use translatable fields using T() function. I couldn't find any information for this in the document. I could only find the info from forum discussions. But still there are some problems: COURSES = {'math': T('Math'), 'phy': T('Physics')} ... Field(course, requires=IS_IN_SET(CO

[web2py] Re: IS_SET_DB using

2016-04-06 Thread SanDiego
Thank you very much. By the way, I realized that I sent out without completing the subject. :) On Tuesday, April 5, 2016 at 10:37:02 PM UTC-7, Dave S wrote: > > > > On Tuesday, April 5, 2016 at 10:04:47 PM UTC-7, SanDiego wrote: >> >> I wanted to use translatable fiel