Add href column in jQuery (jquery and struts2)

How to add href to jquery grid column or redirect to new page when clicking on row? I am 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 cannot click the event name.

thank

+3
source share
1 answer

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

see the related wiki in google code .

+2
source

Source: https://habr.com/ru/post/1789220/


All Articles