Skip to content
jefelon edited this page Feb 7, 2019 · 1 revision
 // Add event listeners: $("#sample-grid").on("rowSelect", function(aEvent) { $("#selected-data").html("You selected <strong>" + aEvent.row[1] + "</strong>");	$("#sample-grid" ).keypress(function( event ) {	if ( event.which == 13 ) {	console.log(aEvent.row[1]); //Bill Smith,Mary Miller,Jose Gonzalez...	}	}); }); 

// funciona pero se acumula los datos... ¿cómo podría obtener el dato seleccionado actual con un enter del teclado?

Clone this wiki locally