Cannot add a new row
Cannot add a new row
 mariooo            
            
                Posts: 15Questions: 4Answers: 0
mariooo            
            
                Posts: 15Questions: 4Answers: 0            
            Hi,
I have a problem with adding a new row to my table.
`// datatable columns
[
            { data: "guid", visible: false },
            //-------------------------------------------------------------------------
            {
                width: "20px",
                render: function (data, type, full, meta) {
                    return '<input class="selector" type="checkbox" />';
                }
            },
            //-------------------------------------------------------------------------
            {
                data: "node_name", width: "400px",
                render: function (data, type, row) {
                    if (type == "display") {
                        return data;
                    }
                    else if (type == "html") {
                        return '<input type="text" value="' + data + '" title="' + data + '"/>';
                    }
                }
            }
]
//on add event
    var rowNode = structureTable.row.add(
            {
                "guid": -1,
                "node_name": ""
            }
    ).draw().node();`
Do you have any suggestions?