Hi,
I've opened a request for my specific case but I'm trying hard to make DataTables+Jeditable work and I've found some problems with the initialisation.
The problem is the following: by going thru the examples/how-tos I've found some different way to do things.
I've tried them with different results: in one my aaData array is empty, in the other one is populate but in both cases the whole setup doesn't work. With the old initialisation (empty array) I can get Jeditable work but it doesn't save the content on the database, with the full array I can't get jeditable to work. It's kinda messy. Feels like I have to mix it up but still I can't make i work: I wonder if I should start from scratch by asking you the whole example without picking up various configurations and mix them up.
So the point is:
what's the basic configuration/initialisation to make a table from a DB, make the table cells editable and save the edited content onto the database?
I've opened a request for my specific case but I'm trying hard to make DataTables+Jeditable work and I've found some problems with the initialisation.
The problem is the following: by going thru the examples/how-tos I've found some different way to do things.
I've tried them with different results: in one my aaData array is empty, in the other one is populate but in both cases the whole setup doesn't work. With the old initialisation (empty array) I can get Jeditable work but it doesn't save the content on the database, with the full array I can't get jeditable to work. It's kinda messy. Feels like I have to mix it up but still I can't make i work: I wonder if I should start from scratch by asking you the whole example without picking up various configurations and mix them up.
So the point is:
what's the basic configuration/initialisation to make a table from a DB, make the table cells editable and save the edited content onto the database?