Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JqGrid Export Buttons #410

Open
imonteiro opened this issue Jan 18, 2013 · 1 comment
Open

JqGrid Export Buttons #410

imonteiro opened this issue Jan 18, 2013 · 1 comment

Comments

@imonteiro
Copy link
Member

Original author: [email protected] (November 12, 2010 08:30:09)

What steps will reproduce the problem?

  1. Running an application in a popup Window
  2. Using the export buttons fomr JqGrid

What is the expected output? What do you see instead?
There are two possibilitys to display the exported data:

  • in the same window (redirect)
  • in a new window

When running an application in a popup window, you should also have the abbility to open the export also in a new popup window.

Please insert the appropriate values;
Zend Framework version: 1.11
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.6.5
Operating system:
PHP Version: 5.3.2
Database Server and version:
Source Adatapter:

Please provide any additional information below.

Possible solution:
Changing the parameter "newWindow" to f.x. "exportDestination"

Original issue: http://code.google.com/p/zfdatagrid/issues/detail?id=498

@imonteiro
Copy link
Member Author

From [email protected] on January 07, 2011 14:06:01
If you have ready code to be added into Bvb_Grid_Deploy_JqGrid::addExportButtons() to support opening in popup I will be happy to add it there.

I agree that the parameter "newWindow" is not best name, but it can't be removed because of compatibility. I could add "exportDestination" parameter with following accepted values:
"_blank" = same as newWindow
"_self" = redirect of current page
"popup" = your function
array(callback) = if array will be passed I will call that PHP function/method to obtain javascipt for onClickButton event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant