Import CSV No Second Dialog After Select File

Import CSV No Second Dialog After Select File

Showa Indonesia MfgShowa Indonesia Mfg Posts: 7Questions: 3Answers: 0
edited September 2021 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: 15,112Questions: 1Answers: 2,583

    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: 7Questions: 3Answers: 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: 61,446Questions: 1Answers: 10,054 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: 7Questions: 3Answers: 0

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

    thank you!

Sign In or Register to comment.