Data table render if
Data table render if

Error:
**columns: [
{data: 'no'},
{
data: 'gambar_soal',
full : 'soal_pg',
render: function(data, full) {
if( data == null) {
return data;
}
else{
return full;
}
},
defaultContent : data;
}
]**:
IF not working:
full not workig:
This discussion has been closed.
Answers
The second parameter to
columns.render
istype
, notfull
.We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin