neotable in NW.js - Forum

Forum Navigation
VisualNEO Products: Web, Win and PixelNEO
You need to log in to create posts and topics.

neotable in NW.js

I have used neotable in NW.js app everything work fine, except of table exportation, it means the

app does not write any file on my computer.

Is there any solution for this problem?

Uploaded files:
  • You need to login to have access to uploads.

@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.

Thank you @luishp,

It works perfect, it creates file in same folder of nw.exe app.

Open chat
1
Do you need more info?
Hi, do you have any doubt?