Update Base Generated Application with Example Coding
Update Base Generated Application with Example Coding
robbsandy
Posts: 10Questions: 4Answers: 0
in Extensions
A. Create datatables basic application using the datatables “Generator” for database connection/functionality.
B. Modifying basic application with an example structure.
Example:
Simple inline editing
Javascript
HTML
CSS
Sever script..
And addition, adding the files listed below the coding.
var editor; // use a global for the submit and return data rendering in the examples
.....
Question:
- Does the javascript coding needed to initialise table replace the generated table.XXXXX.js or added as an additional file.
Automated generated file was table.xxxx.js. - Will I need to add the other files listed in the example, or did the generator file create them?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
If you want to add inline editing into an Generator created file, add the code to trigger inline editing into the table.XXXXX.js file after the Editor instance has been created:
That's all that is needed for inline editing, but if you want to do other things, then you might need to add other files.
Allan
Thanks again for all the help. Very clear and helpful.