Quote from
luishp on August 1, 2020, 11:44 am
@asmat I think NWjs uses NodeJS to write files instead of downloading them as we usually do on web apps.
Try this:
BeginJS
var fs = require('fs');
fs.appendFile('mynewfile1.txt', 'Hello content!', function (err) {
if (err) throw err;
console.log('Saved!');
});
EndJS
So you should get the table content and write it to a file using this method.
@asmat I think NWjs uses NodeJS to write files instead of downloading them as we usually do on web apps.
Try this:
BeginJS
var fs = require('fs');
fs.appendFile('mynewfile1.txt', 'Hello content!', function (err) {
if (err) throw err;
console.log('Saved!');
});
EndJS
So you should get the table content and write it to a file using this method.