Import CSV No Second Dialog After Select File
Import CSV No Second Dialog After Select File
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
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
yes, I have copy paste from that example and check every single line code. It has the same columns between PHP and HTML.
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
solved! I create the code from the scratch using the example as a template.
thank you!