Skip to content

Editing returns datatables error #81

@Cookiezzz

Description

@Cookiezzz

Hi there,

I'm trying to use this plugin into my datatables, but when editing I receive an error.
The data updates fine in the database.
When the success function runs, I get the following in the console.
image

And the following on screen.
image

Below the JSON I have my php file return to the Ajax call.
image

I've read the datatables errorpage and I believe this is because I don't have a columndefinition for the 'undefined' row and the 'editRowBtn' rows. But I can't add those since they're not actual columns.

Anyone knows how to get around this or where I went wrong?

JS code.
https://pastebin.com/cJ7bZzjP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions