I'm still trying to make this work. I've ignored the first option
because I've read in the forums that we should not modify the tqx
parameters.
So I'm concentrating in the second option but still having problems. I
can manually change the query by modifying the Da attribute
(query_object.Da), but it doesn't help since I cannot receive a custom
parameter in the response. The response object ignores any custom
parameters sent in the JSON from the server.

So still trying to control this. I've been testing a bit more with two
different handlers in each call to send(). But I find out that if I
sent two queries (query.send()) one after the other, then only the
first one call the response handler. The second one does nothing (I do
see the two request did get out of the client with Firebug). Can
someone explain why this happen?

Thanks,
Jose.

On Jun 2, 6:37 pm, Jose Luis Canciani <[email protected]> wrote:
> Hello. I'm building a UI that will let a user run a query dynamically
> and also cancel it if it's taking to long or if he/she wants to run it
> again with a different filter for example. I'm having troubles to
> ignore the previous call from the client. I see two possible solutions
> but I'm not sure how to implement them:
>
> 1) If I could make reqId to increase with every new call to the send()
> method of the Query object then I could ignore previous calls in my
> handler function. But I don't know how to do that: when calling the
> send method the reqId always stay in "0".
>
> 2) I can create a new query object and pass a custom reqId in the URL.
> That would make the trick, but I don't want to have to create a new
> object every time. Is it possible to change the URL of a query object
> once it was instantiated?
>
> Any other approach would be appreciated.
>
> Thanks!
> Jose.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to