How we load data on editor fields ?, not from table, from an ajax call
How we load data on editor fields ?, not from table, from an ajax call
cristopher
Posts: 1Questions: 0Answers: 0
Helo,
We saw ur project alan, and looks good, keep working on it. Congratulations.
We would like to know if it is possible load data on editor window fields from an ajax call.
We would work with server side data.
We need to know if it is possible load the currently DB info on the editor window fields when u open the editor window, not taking the data from the clients table info ( javascript object ).
An end user could use the aplication, see a table list, after some seconds or minuts, he click on edit to edit a register(row) but that register info changed on DB, so, if we take the info to show from the oTable on client side, we are showing to the end user a not right info.
We need to know if this can be handle with ur library before we choose pay the license.
[code]
// Edit record
$('#example').on('click', 'a.editor_edit', function (e) {
e.preventDefault();
editor.edit(
$(this).parents('tr')[0],
'Edit record',
{ "label": "Update", "fn": function () { editor.submit() } }
);
} );
[/code]
Regards.
We saw ur project alan, and looks good, keep working on it. Congratulations.
We would like to know if it is possible load data on editor window fields from an ajax call.
We would work with server side data.
We need to know if it is possible load the currently DB info on the editor window fields when u open the editor window, not taking the data from the clients table info ( javascript object ).
An end user could use the aplication, see a table list, after some seconds or minuts, he click on edit to edit a register(row) but that register info changed on DB, so, if we take the info to show from the oTable on client side, we are showing to the end user a not right info.
We need to know if this can be handle with ur library before we choose pay the license.
[code]
// Edit record
$('#example').on('click', 'a.editor_edit', function (e) {
e.preventDefault();
editor.edit(
$(this).parents('tr')[0],
'Edit record',
{ "label": "Update", "fn": function () { editor.submit() } }
);
} );
[/code]
Regards.
This discussion has been closed.
Replies
Thanks,
Allan