[Top] [All Lists]

Re: CFGRID trigger event on row click

Subject: Re: CFGRID trigger event on row click
From: GArlington
Date: Tue, 14 Aug 2007 08:08:15 -0700
Newsgroups: macromedia.coldfusion.cfml_general_discussion
On 14 Aug, 15:28, "tSpark" <[email protected]> wrote:
> Using the new ajax CFGRID in ColdFusion 8, is there a way to trigger a
> javascript event on row click?
>  This works:
>  selectmode="row" href="mypage.html"
>  This doesn't:
>  selectmode="row" href="javascript:myevent();"
>  I'd like to create an edit form for my data row, and I don't want to use the
> in-place editing that is built in.  I could easily link to another cfm page
> with the edit form, but I wanted to make this Ajax using a javascript function
> on row click instead.

Did you try
<cfgridrow onClick="myevent();" >

<Prev in Thread] Current Thread [Next in Thread>