tianzhidao28 / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

关于extremeTable的row双击事件 #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
我用hibernate+springMVC生成了代码,分页控件用的是extremeTable,
使用后发现extremeTable生成的行<ec:row>并没有双击事件
然后查看了网上的文章,给<ec:row>增加了双击事件
但是有个问题,就是<ec:row>中,并不能取到我所要遍历的数据
,
我主要是想双击查看数据
希望能帮忙解决下

Original issue reported on code.google.com by weijianj...@gmail.com on 6 Mar 2010 at 3:19

GoogleCodeExporter commented 9 years ago
转换一下思维,增加一个div即可
<ec:row>
   <div onDoubleClick='doSomeThing()'>
   </div>
</ec:row>

Original comment by bad...@gmail.com on 8 Mar 2010 at 4:21

GoogleCodeExporter commented 9 years ago
理解错了,你可以为<ec:row class='xxxx'>
然后跟jQuery配合增加操作, $('.xxxx').dbclick();

Original comment by bad...@gmail.com on 8 Mar 2010 at 4:36