Title: [SOLVED] Datagrid onDblClickRow focus text Post by: jega on November 09, 2022, 02:33:12 PM Hi.
Can't find the solution. When dblclick a row, on the text, the text is highlighted. How to get rid of this. Regards Jesper Title: Re: Datagrid onDblClickRow focus text Post by: jarry on November 10, 2022, 02:01:11 AM Clear the selection when dblclick a row. Please refer to the code below.
Code: $('#dg').datagrid({ onDblClickRow: function(index,row){ if (window.getSelection){ window.getSelection().removeAllRanges(); } else if (document.selection){ document.selection.empty(); } } }) Title: Re: Datagrid onDblClickRow focus text Post by: jega on November 10, 2022, 03:48:02 AM Thanks Jarry
Works fine |