[eluser]bunal[/eluser]
What i achieve is to load pagination_admin into it's associative config array in my Admin_Controller
Admin_Controller
Code:
$this->load->config('pagination_admin', TRUE);
$this->pagination_config = $this->config->item('pagination_admin');
Then use it in the admin pages of the site as
Code:
$this->pagination_config['base_url'] = current_url();
$this->pagination_config['total_rows'] = $recordCount ;
$this->pagination->initialize($this->pagination_config);
Any other cleaner ideas?