[JSP] jqgrid
jqgrid # onSelectRow: function(id){} 이벤트 onSelectRow: function(id){ alert(id); } }); $(´#grid´).addRowData(1,{"id":"a","pw":"b","addr":"c","tel":"d"}); $(´#grid´).addRowData(2,{"id":"e","pw":"f","addr":"g","tel":"h"}); }); # 그리드.getRowData(id) : 주어진id에 해당하는 줄의 object반환 onSelectRow: function(id){ alert($(this).getRowData(id).pw); } }); $(´#grid´).addRowData(1,{"id":"a","pw":"b","a..
VIEW/JSP&SERVLET
2017. 12. 1. 15:47