.makeEditable selector

.makeEditable selector

dbecker88dbecker88 Posts: 2Questions: 0Answers: 0
edited February 2012 in General
when applying a selector to .makeEditable, I loose edit functionality?

this does not work:

[code]
$(document).ready(function() {
$('#example').dataTable({
//"sDom": '<"H"Tfr>t<"F"ip>',
"sDom": '<"H"T<"clear">lif>rt<"F"p>',
"oTableTools": {
"aButtons": [
{
"sExtends": "print",
"mColumns": "visible",
"sButtonText": "Printer Friendly Version",
"bShowAll": true,
}
],

"sSwfPath": "js/TableTools-2.0.2/media/swf/copy_cvs_xls_pdf.swf"
},
"iDisplayLength": 25,
"aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]],
"bProcessing": true,
"bServerSide": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "js/DataTables-1.9.0/scripts/server_processing.php",
"aoColumns": [
{"bVisible": false },//id
{},//code
{},//project
{},//task
{},//type
{},//description
{"fnRender": function (oObj) {
return "";
},
"sClass": "readonly"
}//checkbox
],

})
.$('td[class!="readonly"]')
.makeEditable({
"sUpdateURL": "js/DataTables-1.9.0/scripts/server_editing.php"
})
} );
[/code]

however, if I comment out this:

[code].$('td[class!="readonly"]')[/code]

then the editing works?
My goal is to make the fnRender input checkbox column readonly.

thanks!
This discussion has been closed.