Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Determine column clicked for grid row AJAX snippet

$
0
0
On the Pages stage there is a click actions button next to the List page settings. I would like to define a grid row AJAX snippet (common to all columns/fields in the row) but need to know which column was clicked to pass as a parameter to the snippet code. Is there anyway for me to determine this in the code?

Background: I have up to 20 columns in the table displaying the same kind of data. I could replicate the function for each column (rather than trying to use the (grid row) but it seems like it would be very inefficient:

eg.

ajaxfn1:
var col="C01"
callpop(col,row)

ajaxfn2:
var col="C02"
callpop(col,row)

etc...

Viewing all articles
Browse latest Browse all 2586