Import CSV No Second Dialog After Select File

Import CSV No Second Dialog After Select File

Showa Indonesia MfgShowa Indonesia Mfg Posts: 3Questions: 1Answers: 0
edited September 2 in Free community support

I want to create an import CSV form, using edit datatables. After selecting the files, there is no second dialog, it exits to the main page, the page hangs for seconds, cannot be clicked, etc.

I attached some files (source code).

And a file after rendered from PHP => rendered.html

Link to test case:

none

Debugger code (debug.datatables.net):

console log is empty, no error. but if I trace, it stopped before :

selectEditor.on('submitComplete', function (e, json, data, action) {

Error messages shown:

no error

Description of problem:

After selecting the files, there is no second dialog, it exits to the main page, the page hangs for seconds, cannot be clicked, etc.

PLEASE HELP!

Answers

  • colincolin Posts: 12,630Questions: 0Answers: 2,157

    I haven't looked at your code, but did you base it on this example here. It would be worth ensuring all the columns from there match your datasets, as that could cause an issue like that,

    Colin

  • Showa Indonesia MfgShowa Indonesia Mfg Posts: 3Questions: 1Answers: 0

    yes, I have copy paste from that example and check every single line code. It has the same columns between PHP and HTML.

  • allanallan Posts: 54,709Questions: 1Answers: 8,557 Site admin

    Hi,

    I think you'll need to give us a link to your page showing the issue please. I'm not seeing anything obvious from the files above, so I'd need to run through it and debug it live.

    Allan

  • Showa Indonesia MfgShowa Indonesia Mfg Posts: 3Questions: 1Answers: 0

    solved! I create the code from the scratch using the example as a template.

    thank you!

Sign In or Register to comment.