开发者

Add a href to jquery grid column (jquery and struts2)

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" sortab开发者_如何学编程le="true" href="/thankyou.jsp" targets="eventSearchResultsDiv">
</sjg:gridColumn>

When the grid is displayed I am not able to click the event name.

Thanks


when using a href in your grid column you should use a formatter.

see related wiki page at google code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜