⚠ In case you've missed it, we have migrated 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 is an archived forum. ⚠

  •     

profile picture

move the action column to the left hand side of output table



Don Curtin
  • profile picture
  • Member

Posted 11 September 2012 - 16:06 PM

Hi All,

Only just started using grocery crud, its all working with my own table, but I have a lot of columns and the edit/delete actions column is not in view. Its hard to follow the customers name all the way across.

also it would be nice to have the search and nav arrows at the top.

if you could just point me in the right direction, thanks. I assume its the code below



[color=#ff0000]public function table_data()
{

$this->grocery_crud->set_table('table_data');
$output = $this->grocery_crud->render();
$this->_example_output($output);

}

function _example_output($output = null)

{
$this->load->view('example.php',$output);
}[/color]

Don

nickc
  • profile picture
  • Member

Posted 12 September 2012 - 01:56 AM

I'm about to try this myself:

/topic/388-actions-column/page__hl__actions

Don Curtin
  • profile picture
  • Member

Posted 12 September 2012 - 17:52 PM

Hi Nickc,

Couldnt find that post myself

I've done it and it all works fine, the only thing that was different was the line number for the css update, mine wasnt line number 650 it was 652

Don