You are browsing documentation for an old version of Tabulator. Consider upgrading your project to Tabulator 5.5
Upgrade Guide v5.0 to 5.1
Previous Version Upgrades
If you are upgrading from any version of tabulator below version 5.0, you should read the v4.9 to 5.0 upgrade guide first.
File importing has now been moved to the Import module. As a result the setDataFromLocalFile function has been replaced with the import function.
Anywhere you used to call the setDataFromLocalFile function
table.setDataFromLocalFile(); //load data from json file into the table
You should now call the import function
table.import("json", ".json"); //load data from json file into the table