将href添加到jquery网格列(jquery和struts2)(Add a href to jquery grid column (jquery and struts2))
如何在单击行时将href添加到jquery网格列或重定向到新页面? 我正在使用struts2 jquery插件。
这是我的网格列 -
<sjg:gridColumn name="eventName" index="eventName" title="Company" sortable="true" href="/thankyou.jsp" targets="eventSearchResultsDiv"> </sjg:gridColumn>显示网格时,我无法单击事件名称。
谢谢
How can I add a href to a jquery grid column or redirect to a new page when a row is clicked ? I'm using the struts2 jquery plugin.
Here is my grid column -
<sjg:gridColumn name="eventName" index="eventName" title="Company" sortable="true" href="/thankyou.jsp" targets="eventSearchResultsDiv"> </sjg:gridColumn>When the grid is displayed I am not able to click the event name.
Thanks
最满意答案
在网格列中使用href时,应使用格式化程序。
在谷歌代码中查看相关的维基页面 。
when using a href in your grid column you should use a formatter.
see related wiki page at google code.
更多推荐
发布评论