Chris De_David - 2007-08-11 07:21:10 -
In reply to message 1 from Chris De_David
Hi I fixed this.
What happened is that I was passing a GET variable via the URL to a page containing the Grid. The GET variable includes a "state id", and that is used to create the Where Clause.
How did I fix this?
Well I followed the javascript to see how a page is changed, and noticed that the entire page is reloaded, or a page is called and loaded into a div. None the less, a page is loaded, not just a query to database.
I had to pass the variable back through the 'dg_do' javascript function.
See here that I added 'stateid' to the get parameters being passed to the page call:
parametersAjax = DG_ajaxid+"&stateid="+stateid+"&dg_r="+pgNumber+"&dg_order
Sorry about the explanation, I know this would be complicated to a beginner.
Basically; the problem is within the class... why isn't the where clause being used on the next DG page?
hope this helps another coder :)