how to get the particluar row value from grid using jquery
Posted
by kumar
on Stack Overflow
See other posts from Stack Overflow
or by kumar
Published on 2010-06-10T19:54:11Z
Indexed on
2010/06/10
20:03 UTC
Read the original article
Hit count: 229
JavaScript
|jQuery
I defined this code in the script
<script type="text/javascript">
var RowClick = function(e) {
$('#Grid td:first-child').click(function() {
var resultArray = $(this).closest('tr').find('td').map(function() {
var val = $(this).text();
alert(val);
});
});
};
</script>
I am calling this RowClick for SingleClick event server side.. something like this..
grid.ClientSideEvents.RowSelect = "RowClick";
Here my intension was to get the perticular row value on row click?
but this code which I wrote above its not working for me..
Please can anybody help me out how to get the perticular column eq(0) or eq(1) ?
thanks
© Stack Overflow or respective owner