Can ou please share the code / output as what is exactly happening? cuz just expressing .. you have written the code and nothing happens - dose not really workout cuz the code is working fine as many of them (including me) have been using the same and never found issue with it..
so recommend u share the piece of code..
and the output that you see .. post that, will be able to help you up.
The code
public function employees_example()
{
$crud = new grocery_CRUD();
$crud->set_table('employees');
$crud->columns('lastName','firstName','email','jobTitle');
$crud->fields('lastName','firstName','extension','email','jobTitle');
$crud->display_as('lastName','Last Name');
$crud->display_as('firstName','First Name');
$crud->display_as('jobTitle','Job Title');
$output = $crud->render();
$this->_example_output($output);
}
but it does not change the display_as names
does this have something to do with the application\libraries\Grocery_CRUD.php
where
protected $display_as = array();
Since it is protected and i have written my code in a public function?
I have been reading a lot but cant find anything about this.
grateful for any help
Thanks