Can jEditable plug-in work with multiple tables?
Can jEditable plug-in work with multiple tables?
DanSchwartz
Posts: 19Questions: 0Answers: 0
Can the jEditable plug-in for jQuery work with multiple tables, i.e., can it create records in multiple database tables through a single interface, or can it only work with one database table at a time?
This discussion has been closed.
Replies
Allan
Thanks for your replies. I guess I misspoke. The editor I'm looking at is the one you reference at http://editor.datatables.net/ . I have downloaded the trial version and am currently trying to figure out how to set it up. Am wondering if one can use it to view/edit/insert fields from multiple database tables, such through an updatable database view.
Dan
The server implementation that comes with Editor is never going to be everything to everyone - the client-side library is the main component of Editor, and the expectation is that the server implementations included with Editor will be enough to cover the majority of cases, but when starting to look at complex interactions with the database, there will need to be some programming done by the developer to interface Editor with their database schema.
As I mentioned in the other thread - the protocol Editor uses to communicate with the server is fully documented ( http://editor.datatables.net/server/ ) to allow anyone to implement a server-side environment that will support Editor, and the onPreSubmit and onSubmit methods can be used on the client-side to manipulate the data that is sent / received by Editor if required.
Allan