Can't join columns with columnDefs with ajax data

Can't join columns with columnDefs with ajax data

ImendanImendan Posts: 5Questions: 1Answers: 0
columnDefs: [ {
                        "targets": 'selectionCol',
                        orderable: false,
                        className: 'select-checkbox'                        
                    },
columns: [ 
                        null,
                        { "data": "FIO" },
                        { "data": "FullPostNameRU" },
                        { "data": "depnameRU" }
                        ],

Shows me this error: "DataTables warning: table id=tableId - Requested unknown parameter '0' for row 0, column 0."
When I putting only "columns" with all data from example (without 'null column'), it works, but selection does not work, although I putted this:

select: {
                        style: 'multi',
                        info: false,
                        selector: 'input:checkbox'
                    }

I can't show full code, because I'm using IBM Domino. Please help me

This question has accepted answers - jump to:

Answers

Sign In or Register to comment.