I use Ignited Table and I would like to combine 2 filed results in one column.
$this->datatables
->select('ci_orders.id,'
.'ci_orders.transaction_id,'
.'ci_orders.field1,'
.'ci_orders.field2,'
.'ci_orders.status')
->from('ci_orders')
->join('ci_users', 'ci_orders.user = ci_users.id')
->where('ci_users.id',$userId)
->unset_column('ci_orders.id')
->add_column('edit', '<a href="' . base_url() . 'cancel_order/$1"><button class="btn btn-danger" type="button"><i class="fa fa-times-circle"></i> Cancel</button>', 'id');
with this query I would have a table like
---transaction_id---|---field_header1---|---field_header2---|---status---
some id | value1 | value2 | pending
What I would like to achieve
---transaction_id---|---field_header---|---status---
some id | value1/value2 | pending
is ignited table ablle to handle this?