jQuery UI Widgets › Forums › Grid › jqxGrid Data Export
Tagged: save-file.php
This topic contains 4 replies, has 5 voices, and was last updated by Dimitar 11 years, 2 months ago.
-
AuthorjqxGrid Data Export Posts
-
Hi
I have implemented virtual pagination( 10 rows per page ) for my grid . For example
1. I have a total of 250 records in my database.
2. when I load the grid it will get 10 records from the server and displays those records.
3. If I export using $(jqxgrid).jqxGrid(‘exportdata’, ‘csv’, ‘jqxGrid’) , it is successfully exporting the data that is shown in the grid i.e 10 records.Now if I want to export all the 250 records is there any provision in the API to achieve the same ?
I have seen the method parameters for ‘exportdata’ , out of which one is the url of the export server which specifies about save-file.php. I have given url of my server for that parameter and when I fire the export event a POST request has been fired to my server , ends up with error/some response ( export doesn’t start which is expected) , as I am not providing the data in the format that is expected by the grid ?
My programming language is not php, so if I want to implement the functionality can you please let me know what are the steps I need to follow ?
BTW, we have a corporate license for jqWidgets and in order to implement the functionality do I need to follow/see the logic that is there in save-file.php and replicate the logic in my application files?Thanks
ShankarHi Shankar,
The “exportdata” method has parameter called rows which allows you to pass a custom rows Array for data export.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
How do i look the logic or content of save-file.php of jqxwidget export data.
Could you please help me.Thanks in advance.
Best Regards
ArjunHi Peter,
I am free user need to export to excel from jqxtreegrid and I have data more than 2000 rows.
Couldn’t I do without being developer or enterprise user.
Thank You
Prakash -
AuthorPosts
You must be logged in to reply to this topic.