There's nothing in the relevant framework code that would cause different 
behavior based on the OS or web server, so likely there is some other 
difference in your app code between the two systems.

Anthony

On Wednesday, June 7, 2017 at 4:41:38 PM UTC-4, Seth J wrote:
>
> I am experiencing a peculiar issue with smartgrid and grid.  I have web2py 
> installed on Apache/2.2.15 (Red Hat)  and everything works as it supposed 
> to with respect to disabling export options:
>
> title_grid = SQLFORM.smartgrid(db.title, linked_tables = ['title_archive'
> ], links=title_links, editable= dict(title=True, title_archive=False), 
> deletable= dict(title=True, title_archive=False), create= dict(title=True, 
> title_archive=False), user_signature=True, details=False, showbuttontext=
> True, paginate=30, maxtextlengths={'title.f_title_desc':50}, exportclasses
> =dict(csv_with_hidden_cols=False, xml=False, html=False, 
> tsv_with_hidden_cols=False, json=False), orderby=orderby, divider="ยป", 
> formname='title_grid')
>
> Here's a screenshot of it:
>
>
> <https://lh3.googleusercontent.com/-E4FqHtJL7Jk/WThjRKOnGWI/AAAAAAAAFqg/a7DBs62vjpElZ5Xa1G_JCHh1zy1L27LlQCLcB/s1600/linux_grid.png>
> However, when the same exact application is installed on web2py 
> 2.14.5-stable+timestamp.2016.04.14.03.26.16
> (Running on Microsoft-IIS/8.5, Python 2.7.10)   I get the full Export 
> option regardless of the disabled options:
>
>
> <https://lh3.googleusercontent.com/-AGmkX7O7YN8/WThkMpayLUI/AAAAAAAAFqo/OBJjPMprmewhZr0v23hKhbk9LOjNS_migCLcB/s1600/msserver_grid.png>
>
> Is there something I am missing or something can be done to enable control 
> over Export options? Thanks!!!
>

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

Reply via email to