Prevent server side datatable from creating chosen rows

Prevent server side datatable from creating chosen rows

RaleyRaley Posts: 7Questions: 2Answers: 0
edited September 2019 in Free community support

Hello. What I'm trying to do is to prevent my server side datatable from creating/drawing chosen row, by some condition.

Here is a piece of code to illustrate you my needs

"columnDefs": [{
"targets": [-1],
"createdCell": function (td, cellData, rowData, row, col) {
if(somecondition) delete_this_row/prevent_from_being_created_at_all
}
}

Is there any way to make it work as I want to?

Answers

This discussion has been closed.