⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Member Since 02 Dec 2015
Offline Last Active Feb 24 2016 08:28 AM

Posts I've Made

In Topic: Join Tables

16 December 2015 - 05:47 AM

Another question on this. Is it possible to extend query used for filter in "flexigrid" theme?

In Topic: Join Tables

04 December 2015 - 06:28 AM



okay, I managed on my own, "get_edit_values()" needs some extension. I did it like this:

function get_edit_values($primary_key_value) {
    $primary_key_field = $this->get_primary_key();
    $result = $this->db->get($this->table_name)->row();
    if ($result) {
        $data = $this->db->query("SELECT ... WHERE id=" . $result->id . ";");
        foreach ($data->result() as $row) {
    return $result;

Now I just need to extend "db_update()", "db_insert()" and "db_delete()" also...

In Topic: Join Tables

02 December 2015 - 09:31 PM

Just one stupid newbie question:


I got it working joining a second tables values, and they appear in list view.


But when I open edit dialog these values are not set. Do I need to expand "get_row()" as well and how?



In Topic: How to create an extension for grocery CRUD (real example included)

02 December 2015 - 09:05 PM

Sorry, wrong topic, could you please delete?