Ver Mensaje Individual
  #3 (permalink)  
Antiguo 15/01/2010, 08:41
hola123
 
Fecha de Ingreso: febrero-2009
Mensajes: 142
Antigüedad: 15 años, 3 meses
Puntos: 0
Respuesta: celdas editables

hi,

Si manejo solo este script si me permite editar.
<script type="text/javascript" charset="utf-8">
var oTable;

$(document).ready(function() {
/* Apply the jEditable handlers to the table */
$('#datos tbody td').editable( 'php/editable_ajax.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"height": "14px"
} );

/* Init DataTables */
oTable = $('#datos').dataTable();
} );
</script>

pero si le agrego el script para mostrar u ocultar columnas ya no me lo permite