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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use setSelection method to select the row. See the small demo which I wrote for you to demonstrate this.