Edit window does not show values
Edit window does not show values
VJLumban11
Posts: 6Questions: 1Answers: 0
Edit window does not show values but it saves to database.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I don't understand. Are you saying nothing appears when you type into the form's input fields? Please give a better explanation.
Values of the row does not show up in the edit form (by clicking edit). But when you type in the field, it updates in the database
Something doesn't look right. In the background it looks like you have a row selected but the table info states "Showing 0 to 0....". Can you provide a link to your code showing the issue?
If not maybe you can start with posting your Javascript code.
Kevin
Hi kthorngren,
I already fixed the error which states "Showing 0 to 0....". But the values still doesn't show up.
Can you remove the
ajax.dataSrc
function please. You shouldn't need that when using the Editor PHP libraries and I think it will be doing more harm than good when using server-side processing.Do you mean that the edit modal shows, but there are no values in the inputs? Could you link to the page showing the issue so I can help to debug it please?
Thanks,
Allan
Hi Allan.
I removed the ajax.dataSrc function and changed the way of populating my datatable. Now, its working.
Thanks,
Van