Welcome Guest, Not a member yet? Register   Sign In
Undefined index: swhere, rp, etc with Flexigrid
#1

[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 `
#2

[eluser]dlange[/eluser]
Hey,

I know this is a quite old topic, but I ran into the same problem Sad

Were you (or anybody else) able to solve this?

// Daniel
#3

[eluser]Tumac[/eluser]
I never got a response or fix to this so I basically dumped flexigrid as a solution.

I am using EXTJS and building grids with Ajax calls.

This was also at the beginning of my understanding on how things work. I should resurrect it again and see if I can get it working because I know more now.




Theme © iAndrew 2016 - Forum software by © MyBB