Export Option Not working

QuestionsExport Option Not working
Jaishalini asked 8 years ago

Hello sir,

Export option not working.
The icon displayed in the grid. when i click that its routed to http://www.localhost.com:8080/phpgrid/demos/editing/index.php?grid_id=list1&export=1&jqgrid_page=1&export_type=csv&sidx=1&sord=asc&rows=20
which is wrong.

That has to be http://localhost:8080/phpgridL/demos/editing/index.php?grid_id=list1&export=1&jqgrid_page=1&export_type=csv&sidx=1&sord=asc&rows=20

Where i can change this.
Kindly help me to fix this issue.

1 Answers
Abu Ghufran answered 8 years ago

This uses 'url' param of grid options, which is passed to set_options() function.

$opt["url"] = "….";

It should be complete url of grid page.

by default it is set to: "$protocol://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];
However you can override it.

PS: your email is not found in our crm, so for continued support email me back your order number on [email protected]

Your Answer

4 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?