- Posts: 1
- Thank you received: 0
I have created a view and used CONCAT("<img src="', image_field, '" class="jcepopup">'), when the page first load, it success, but after when I search for items, the jcepopup is no longer working. it jumps to a page of the image full itself. how can i fix this?
Please Log in or Create an account to join the conversation.
Hi,
This is a known issue. The thing is, that when you search or sort the newly loaded table loses the properties defined with any javascript code. Current solution is not trivial. You have to check the jcepopup plugin, and learn how it is possible to redefine those properties on each refresh (search, sort, pagination) of the table. The place where you can add such javascript code is in function SimpleAJAXCallback in /components/com_grid/js/grid.js.
Please Log in or Create an account to join the conversation.