admin管理员组文章数量:1333710
I have a scenario where I have several jqgrids. Clicking row in one grid is reloading the other. Now I need to do this programatically. I want to fire rowclick event when some other event fires (for example dialog onclose - it doesn't really matter what event). Important is a have the grid row number as a parameter available. Is there some way to do this?
I have a scenario where I have several jqgrids. Clicking row in one grid is reloading the other. Now I need to do this programatically. I want to fire rowclick event when some other event fires (for example dialog onclose - it doesn't really matter what event). Important is a have the grid row number as a parameter available. Is there some way to do this?
Share Improve this question edited Dec 8, 2017 at 17:31 Cœur 38.8k26 gold badges205 silver badges277 bronze badges asked Jan 26, 2011 at 9:45 EduardEduard 3,2163 gold badges23 silver badges31 bronze badges1 Answer
Reset to default 5You can use setSelection method to select the row. See the small demo which I wrote for you to demonstrate this.
本文标签: javascriptHow to programmatically fire click event on specific grid row in JqGridStack Overflow
版权声明:本文标题:javascript - How to programmatically fire click event on specific grid row in JqGrid - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742270982a2444299.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论