DataGrid Class

I'm using the Code Igniter library DataGrid.
When I put my datagrid code inside a function different from the index() it gives the following error:

Severity: Notice

Message: Undefined offset: 1

Filename: libraries/Datagrid.php

But if i put it inside the index funcion it works.

Any suggestions?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.