**Expected behavior** $this->datatables->unset_column($column); should return all columns except the ones passed as a parameter. **Result** Passed column parameter still appears. **Fix** replace this $column=explode(',',$column); with this $column=array_flip(explode(',',$column)); //:edit