Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3744

Inline edit always posting boolean / bit field

$
0
0

During an inline edit of a cell, one of the editable columns in my table (IsActive) - a boolean - always posts back along with the current cell being edited, e.g.:

"action" : "edit",
    "data" : {
        "69730" : {
            "Unit" : "7",
            "IsActive" : "false"
        }
    }

Is there an option or setting I can use to prevent the IsActive column from posting each time, except when it itself is being edited?
This example, https://editor.datatables.net/examples/api/checkbox.html, offers an indirect solution, but I was wondering if there were a simpler way. I am not using a checkbox.


Viewing all articles
Browse latest Browse all 3744