Highlight cell value on doubleclick for copy
问题 I have a jqGrid. I would like to highlight a particular cell from a row, ondbClickRow. This would make the task of copying the value of a cell onto clipboard, easy for users. Can someone guide me on how to do this? Thanks! 回答1: In general it would be possible, but you should probably switch off row selection to see highlighting immediately. So the code will be about the following: beforeSelectRow: function () { return false; }, ondblClickRow: function (rowid, iRow, iCol, e) { $(e.target)