jeditable - not working as expected
jeditable - not working as expected
stichcomber
Posts: 26Questions: 7Answers: 3
in Plug-ins
I want to do something like; http://jquery-datatables-editable.googlecode.com/svn/trunk/custom-editors.html
The example has "read only" in the far left column. Here is my code;
<script language="JavaScript" type="text/javascript">
$(document).ready(function () {
$('#myDataTable').dataTable({
stateSave: true,
bProcessing: true,
sAjaxSource: "json_get_countries",
aoColumns: [
{
data: "country_id",
},
{
data: "country",
},
{
data: "country_enabled"
}
]
}).makeEditable({
sUpdateURL: "/application/models/UpdateData.php",
sDeleteURL: "/application/models/DeleteData.php",
});
});
</script>
Have tried to replace country_id aoColumns with below but no affect. Also have tried onblur: 'cancel', submit: 'Ok', and they also have no affect.
null,
{
},
how do i make my first column read only?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
From a reply to a previous question regarding makeEditable: