Unable to execute If conditions in REST API
Unable to execute If conditions in REST API
beginner_2018
Posts: 46Questions: 19Answers: 0
Folks,
While I am trying to get the value from SharePoint List items I encountered with the url https://datatables.net/manual/tech-notes/4 for one of the column "Sessions".
And I had written the below lines of code to over come from the null value after the going through the url.
But I find no movement with it.Can any one please do let me know what's wrong in it
{
"mData": " Session"
render: function ( row, type, set )
{
if ( type === null || type === " " )
{
return "Select";
}
else
{
return row.Name;
}
} );
}
This discussion has been closed.
Answers
Happy to take a look at a test case showing the issue, or use the debugger to give us a trace.
Allan