On Tuesday 20 November 2007 19:34:36 dweston wrote:
> Hi All,
>
> I create a new prototype subclass like this: new
> PaginatedAjaxGrid('list_grid', {"search_params": {}, "url": "lister",
> "var_name": "example_list", "columns": ["column-0", "column-1",
> "column-2", "column-3", "column-4"], "no_init": ""});
>
> The paginated grid object has a refresh() method that I would like to
> call repeatedly using setinterval() (ajax refresh).  Is there a way I
> can use dom to get enumerate all of my paginated grid objects and call
> refresh on them?  I tried to use
> document.getElementsById('list_grid').refresh() but this did not work.

The have the class "grid" - getElementsByTagAndClassname (or such method, it's 
in mochikit) will do.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to