jeditable - not working as expected

jeditable - not working as expected

stichcomberstichcomber Posts: 26Questions: 7Answers: 3

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

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
    Answer ✓

    From a reply to a previous question regarding makeEditable:

    makeEditable is third party software and I believe no longer maintained. However, you could try posting on that project's issue list.

This discussion has been closed.