CodeIgniter Forums
DataGrid Class - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: DataGrid Class (/thread-7774.html)



DataGrid Class - El Forum - 04-22-2008

[eluser]Unknown[/eluser]
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?