Ajax Statu Check (0-1=>active-passive)

Ajax Statu Check (0-1=>active-passive)

hktnaydnhktnaydn Posts: 4Questions: 2Answers: 0
edited August 10 in Free community support

// All Users List Function
var table = $('#allUsers').DataTable({
ajax: '/api/user/all_users_list',
'columns' :[
In this way, I pull my data to the datatable. What I want is to be written as passive if the status data is 0 and active if it is 1.

I searched but couldn't find any results.

This question has an accepted answers - jump to answer


Sign In or Register to comment.