Jeditable, Edita All Column Except one
Jeditable, Edita All Column Except one
Hi, is ther away to jedit all columns of i table except one ?
Have this html table
[code]
pHTemp ºCKH [dKH]GH [dGH]ConductivityDensityOxygen
Min6,0024,000,000,000,001022,000,00
Max7,0028,0020,0020,00150,001027,002,00
/* Data Tables */
var oTable = $('#gridWaterValues').dataTable( {
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bSort": false,
"bInfo": false,
"bAutoWidth": false } );
/* Apply the jEditable handlers to the table */
$('td', oTable.fnGetNodes()).editable( '../examples_support/editable_ajax.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function ( value, settings ) {
return {
"row_id": oTable.fnGetPosition( this )[0], // this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px"
} );
[/code]
I Want to edit all values except 'Min', and 'Max' , has the first column will not be able to edit.
I this anyway to do this ?
Best Regards
Have this html table
[code]
pHTemp ºCKH [dKH]GH [dGH]ConductivityDensityOxygen
Min6,0024,000,000,000,001022,000,00
Max7,0028,0020,0020,00150,001027,002,00
/* Data Tables */
var oTable = $('#gridWaterValues').dataTable( {
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bSort": false,
"bInfo": false,
"bAutoWidth": false } );
/* Apply the jEditable handlers to the table */
$('td', oTable.fnGetNodes()).editable( '../examples_support/editable_ajax.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function ( value, settings ) {
return {
"row_id": oTable.fnGetPosition( this )[0], // this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px"
} );
[/code]
I Want to edit all values except 'Min', and 'Max' , has the first column will not be able to edit.
I this anyway to do this ?
Best Regards
This discussion has been closed.