Nevermind..  I finally stumbled upon Ronald Jaramillo's blog, where he gives
documentation on how the ajax grid widget works.  It answered all my
questions.

What I didn't realize is that javascript silently ignores extra parameters
sent to a method.  So, the id was there for me all along.. I just had to
accept the parm.

The links below also explain the usage of "column_management" and column
sorting.  All I've got left to figure out is how to work pagination into the
mix.

Anyway, sorry for replying to myself twice this week.  My google-foo is
solving problems for me just a little bit to late.   Hopefully someone else
will find this interesting.

Thanks,
-Ken

http://www.checkandshare.com/blog/?p=20
http://www.checkandshare.com/static/js/widgetUsage.html

On 6/8/07, Ken Kuhlman <[EMAIL PROTECTED]> wrote:
>
> How do I get the id of the row that was clicked on in an ajaxgrid?
>
> I've found an excellent explanation [1] of how to add onclick events to an
> ajaxgrid row, but I don't see a way to pass additional arguments so I can
> tell what row generated the event.    I solved the problem with a regular
> datagrid using a callable to generate the link, but it's not so simple using
> ajax (as far as I can tell).
>
> [1]   http://www.nabble.com/AjaxGrid-t2908610.html   -- Thanks go to
> Florrent for answering the previous poster's question!!
>

--~--~---------~--~----~------------~-------~--~----~
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