开发者

How to programmatically fire click event on specific grid row in JqGrid

开发者 https://www.devze.com 2023-02-06 15:20 出处:网络
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 e

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?


You can use setSelection method to select the row. See the small demo which I wrote for you to demonstrate this.

0

精彩评论

暂无评论...
验证码 换一张
取 消