jQWidgets Forums

jQuery UI Widgets Forums Grid jqxGrid Data Export

Tagged: 

This topic contains 4 replies, has 5 voices, and was last updated by  Dimitar 10 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • jqxGrid Data Export #54497

    Shankar
    Participant

    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
    Shankar

    jqxGrid Data Export #54499

    Peter Stoev
    Keymaster

    Hi Shankar,

    The “exportdata” method has parameter called rows which allows you to pass a custom rows Array for data export.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxGrid Data Export #63963

    php.coder
    Participant

    Hi 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
    Arjun

    jqxGrid Data Export #66484

    Prakash
    Participant

    Hi 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

    jqxGrid Data Export #66493

    Dimitar
    Participant
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.