Sushma

Sushma

sushmasushma Posts: 2Questions: 1Answers: 0

hi,
i am using data table for my development,the problem i am facing is
i have one button to add new record to table,' ' 'if make enable server side to true ,it is not adding new record
i am using metronic templet for my design please help me

Answers

  • sushmasushma Posts: 2Questions: 1Answers: 0
    $(document).ready(function() { var oTable= $('#sample_editable_1').dataTable({ "bServerSide": true, "sAjaxSource": "ZoneAjaxDataSource", "bProcessing": true, "aoColumns": [ { "aaData": "Zone_code"}, { "aaData": "zone_name" }, { "aaData": "Edit", "mRender": function() { return 'Edit'; } }, { "aaData": "Delete" , "mRender": function() { return 'Delete' ; } } ], "aoColumnDefs": [ { "sClass": "readonly", "aTargets": [0] } ] }); App.setPage("table_editable"); App.init(); });

    and i want to make zone code column as readonly please help me

This discussion has been closed.