Datatables column rendering example

Databases

{
    orderable: false, targets: 0, width: '20px',
    render: function (data, type, row)
    {
        if (row[8] !== '')
        {
            return <input id="select${row[8]}" type="checkbox" class="checkbox" data-id="${row[8]}">;
        }
        else
        {
           return '';
        }
    }
}