jquery - How to populate a textbox by clicked a row in a jqGrid? -
requirement:
1) want populate textbox data (e.g. amount: 600.0) when row in above jqgrid clicked.
can direct me tutorial ?
resources looked at:
thanks
you use onselectrow event along getcell
or getrowdata
methods:
$('#grid').jqgrid({ .... onselectrow: function(id) { var amount = $('#grid').jqgrid('getcell', id, 'amount'); $('#id_of_some_text_box').val(amount); }, .... });
Comments
Post a Comment