Hi,
You are not supposed to change the request id by yourself, but anyway it is
incremented with every new Query object.
The request id is a unique identifier of a google.visualization.Query object
in the page.
You shouldn't worry about creating new Query objects, they are not very
expensive (in terms of runtime, memory) to make.
Regards,
VizBoy.
On Wed, Jun 3, 2009 at 12:37 AM, 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
-~----------~----~----~----~------~----~------~--~---