0
我有一个GWT演示项目,其中包括一个3列和5行的数据表。我使用GWT来实现:如何使用Jquery调用GWT绑定事件
table.addTableListener(new TableListener(){
public void onCellClicked(SourcesTableEvents sender, int row, int cell) {
demoFunc();
}
});
如何创建一个HTML按钮,并使用jquery称之为“onCellClicked”事件。
<input type="button" id="button1" value="click here"/ >
..
$("#button1").click(function(){
//implement here to call "onCellClicked" event.
});