Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2366

Form not updating data

$
0
0

Hello, I am using: https://datatables.net/release-datatables/examples/api/row_details.html and wanted to add a field to update. Everything loads fine but when I hit update, nothing changes in the db. I looked at the debugging tool and it looks like client_billedxxxxxx instead of client_billed=xxxxxx

    $(document).ready(function () {
        editor = new $.fn.dataTable.Editor({
            "ajax": "/api/cdi_master",
            "table": "#example",
            "fields": [
            {
                label: "Client Billed:",
                name: "cdi_details.cdi_master_id",
                type: "radio",
                options: [
                    { label: "Yes", value: 1 },
                    { label: "No", value: 0 }
                ],
                "default": 1
            },
            ]
        });

Viewing all articles
Browse latest Browse all 2366

Trending Articles