[eluser]paulopmx[/eluser]
[quote author="ecarsted" date="1207937978"][quote author="paulopmx" date="1207934105"][quote author="ecarsted" date="1207894246"]Heya Paulo,
Sorry for the re-request ;
How do i get the row id so I can create a call to get the details for that record;
Code:
function yourfunction()
{
$(".selectrow").click(function(){
alert("HIT!"); (Something goes here to get the row id)
});
}
Eric[/quote]
Where are you going to attach this event? to the process API?
Do you want to call the function when the user clicks the row or a cell or a link inside a cell?[/quote]
Code:
function addCellClassfunction(cellDiv)
{
$(cellDiv).addClass('editcell');
}
$(".editcell").click(function(event)){
}
and I add
Code:
process : addCellClassfunction
to every col in the model. I know it is working as .editcell get called no mater which column they click on. I guess I Just need to walk up the DOM tree to get the right data.
Eric[/quote]
Ok try this:
Code:
$(".editcell").click(function(event)){
var rowid = $(this).parent().parent().attr('id').substring(3);
}