Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82039

mixing editable with row selection

$
0
0
I am trying to use double click to edit cells and single click to select them.

All is working fine except that when I use the select option for editable the row gets selected (I suppose because the click to select the option is taken by the highlight handler as well).

How can I get the select click to not select the row?

here is the code:

		$("#example tr td:nth-child(2)").editable (function(value, settings) { 
						
			// my func	
		}, {
			data   : " {'data 1 1':'data 1','data 2':'data 2','data 3':'data 3'}",
     		type   : 'select',
     		submit : 'ok',			
			event  : 'dblclick',
		}); 

Viewing all articles
Browse latest Browse all 82039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>