Editor > Basic Initialisation
Editor > Basic Initialisation

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: I created HTML Index.html ,PHP staff.php JS staff.js files kept in one folder and added CSS CDNs. however I don't know how to add data to it shown in Ajax Load tab. Do i create JSON file or Incorporate it in JS. Still data not being fetched by Index.html
This discussion has been closed.
Answers
Presumably the data is in a database, which your PHP scripts are extracting. These examples here should help, they're showing Ajax sourced data.
Colin
Thnx for reply. I am trying to implement exact same editor table as shown in example Editor 》 Basic Initialization. and I dont know how sample data is being used.
If you look at the server script tab on that example page, you'll see the list of fields in the database. If you just create a table called
datatables_demo
, containing those columns, modify theconfig.php
file to point to that database, you should be good to go.Colin
Thats helpful w.r.t generator. However,
In this example,there is no config.php. All I am trying to implement exact example as showing in Editor > Basic Initialization https://editor.datatables.net/examples/simple/simple.html
Like i download this exact example and implement.
Download the package from the download page and follow the install instructions.
Allan
Sounds like read the manual DIY