开发者

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

开发者 https://www.devze.com 2023-02-07 17:24 出处:网络
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.

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

精彩评论

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