Simple module list_items

edited March 2012 in Modules
Is it possible to customize the columns displayed in the admin list_items table? Seems like it's either all or just the one provided in the $col parameter. I'd like to be able to display a list columns that I provide to the custom list_items table.

Comments

  • edited 1:46AM
    Found the answer. I didn't have my columns in an array in side the $this->db->select(). So the answer, for future searchers, is:

    $this->db->select(array('id','col1','col2'...));
    $data = parent::list_items($limit,$offset,$col,$order);
    return $data;
Sign In or Register to comment.