jQWidgets Forums

jQuery UI Widgets Forums Grid Please CRUD example with CSV file on server

This topic contains 2 replies, has 2 voices, and was last updated by  Hristo 4 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • paulcobben
    Participant

    Hi! I’m looking to implement something similar to “popupediting.htm”. With 2 main differences:

    1) data is coming from a server-side csv file
    2) once edited, that csv file has to be enhanced on the server side, not only on the user’s browser. I failed to find examples of that on the website documentation. Can you help us out?

    Almost at all the same questions on this forum you tell us that you have CRUD samples with a database and not with CSV for example.

    Please, can you provide us and the rest of the community, with a working CRUD CSV example. We are not successful in creating this solution yet.

    Best Regards,
    Paul Cobben


    paulcobben
    Participant

    We already are able to write data to another location than the browser (mostly downloads folder), but it also keeps saving it to the downloads folder.
    We only want to write the file to the chosen location in the save-file.php.
    We only changed the save-file.php as below.

    ***REMOVED LICENSED CODE***


    Hristo
    Participant

    Hello Paul Cobben,

    I would like to mention that this is a Server-Side preparation and you need to choose suitable for you a solution.
    On the other hand, if you want you could handle it on the Client-Side.
    You could get the data as a variable and to transform it on the desired way.
    Please, take a look at this code snippet:
    var csvString = $("#jqxgrid").jqxGrid('exportdata', 'csv');
    After that you could extract the desired information.
    About the CRUD approach I would like to suggest you this tutorial:
    https://www.jqwidgets.com/jquery-widgets-documentation/documentation/phpintegration/php-server-side-grid-crud.htm?search=

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.