EasyUI Forum

General Category => General Discussion => Topic started by: stephenl on July 10, 2018, 08:16:47 PM



Title: Datagrid - Forms - Using data from 2 tables
Post by: stephenl on July 10, 2018, 08:16:47 PM
Hello
I have a data grid which is edited via a Form

Editing is done via the following function

function editcall() {
    var row = $('#dg').datagrid('getSelected');
    var $radios = $('input:radio[name=OnComplete]');
    if (row) {
        $('#dlg').dialog('open').dialog('setTitle', 'Edit Call');
        $('#fm').form('load', row);
        url = 'scripts/database/update_db.php?udtype=U&id=' + row.id;
    }
}

I would like to now link the forms data 2 seperate MYSQL tables ?

How would this be acheived ?

Thank you