How to set one column based if condition
How to set one column based if condition
simaRa
Posts: 6Questions: 3Answers: 0
Hi everyone
I want to set value of one column based one condition
if (account_id=='-1)
{data: 'colleague_id', name: 'colleagues.fullname'},
else
{data: 'account_id', name: 'account.account_alias'},
I dont want to set it in controller beacuse its filtering makes error
Thanks
This discussion has been closed.
Answers
Duplicate of this thread - https://datatables.net/forums/discussion/54762/how-to-set-one-column-based-if-condition#latest