Search
-
Conditionally add a row in DataTables (jQuery library)
by ahardiman ·if (data.assigned._id.$oid === data.originator._id.$oid) { $('#myActions').DataTable().rows.add([myActionsArray]).draw(); $('#myActions').DataTable().columns.adjust().draw(); $('#setActions').DataTabl