[eluser]Tumac[/eluser]
All:
I am trying to use flexigrid and have followed the example and docs to a tee.
I am able to get a grid, but it will not populate the data. When I call the AJAX controller directly, I get a bunch of errors like (even set build_query option to FALSE in model:
FIREBUG is NOT showing any errors that I can see.
If I comment out the build_query lines in the model, the errors go away, but I still get no data for the grid. and get a new error from the flexigrid library. It is like the grid_params are not getting passed to the build_query (are they supposed to?)
Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: swhere
Filename: libraries/flexigrid.php
Line Number: 202
A PHP Error was encountered
Severity: Notice
Message: Undefined index: sortname
Filename: libraries/flexigrid.php
Line Number: 205
A PHP Error was encountered
Severity: Notice
Message: Undefined index: sortorder
Filename: libraries/flexigrid.php
Line Number: 205
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\libs\ci-1.7.2\libraries\Exceptions.php:166)
Filename: codeigniter/Common.php
Line Number: 360
A Database Error Occurred
Error Number: 1054
Unknown column '' in 'order clause'
SELECT `poID` FROM (`po_header`) ORDER BY `