Jump to content


vipul sharma

Member Since 19 Jun 2015
Offline Last Active Jun 20 2015 10:43 AM
-----

Topics I've Started

How to set fields to be export ??

19 June 2015 - 10:58 AM

I am tring to export some perticular fields from the database .

 

        $crud->columns('fra_name', 'fra_mobile', 'fra_city', 'fra_state', 'fra_email', 'fra_profession', 'fra_year_exp');
        $crud->set_subject('my subject');
        $crud->where('fra_status',0);
        $crud->order_by('fra_id','desc');
        $crud->unset_fields('fra_status');

 

In my database table I have one more field which is 'fra_address'  and i m not getting this in exported file

 

And i dont want to show 'fra_address filed' in crud html  table.

 

Please help me hopw to do it.

 

.