There is a way to showing or hiding the columns using a check-box on the show/hide dialog instead of the click or double-click?
Because, for the many users, when the columns are many hide or show more of one is easier with a click on a check-box put before the column name than using a ctrl-click!.
Thanks in advance
I have just added solution for your issue.
Emailing you updated lib and demo.
Emailed you latest build.
For others, email your order number & payment email address to get latest build at [email protected].
Before the selected columns were not printed either in Excel or in PDF.
yes now, and that's not good
I dont understand your query.
Here is working demo: http://www.phpgrid.org/demo/demos/export/export-selected.php
To try, Click of column selection button, customize and then export.
If you mean something else, please share screenshot with more explanation.
Before the change, in the dialog box "Show/hide columns", from click/ctrl-click to check-box, once I selected the columns to show whether I exported grid in PDF or XLS I obtained only the selected columns.
After using check-box it is no longer true; the phpgrid exports all columns.
Did you checked working demo?
Can you generate this issue in live demo?
You can review the code of http://www.phpgrid.org/demo/demos/export/export-selected.phps and match with your grid code.
I checked the live demo: I cannot generate the issue;
then I downloaded your code, put this in your environment (phpdrid/demos) and executed: works!
Then I copied the code in my environment, as how is, with your db and I ran this: doesn't work.
At the last I copied your phpgrid_dist.php in my environemnt: was that.
I had an older version !!!
Thank you very much
But where i use:
$e["on_export"] = array("custom_export", null, true);
(pratically in all my codes)
I get a file excel without customizations and a empty pdf file.
Thank in advance.
Please refer demos/export/export-pdf-html.php code and working demo.
Let me know if it does not work as expected.
It's possible that my malfunction depends by different codes with same column names.
I solved modifying the cookie name in the phpgrid_dist from:
I think this is a valid suggestion.
Thanks in advance.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?