Reputation: 97
In my Asp.Net web application I am using JqGrid using jQuery.
JqGrid is providing sorting functionality on column header click, but I have one specific requirement: I want to implement column header double click and call custom JavaScript function to display result/message below JqGrid(not in footer, out of grid area), custom message depends on which column user has double clicked.
Thanks in Advance
Upvotes: 1
Views: 691
Reputation: 191
The jqGrid header are stored in tag. So You need just simmply take the id of jqGrid and set the double click event and take on div tag and append it in the grid with your require message.
$("#id-of-your-grid th").dbclick(function() {...});
Upvotes: 3