Does DataTable provide this option for other Plugins?

Does DataTable provide this option for other Plugins?

sunildonsunildon Posts: 40Questions: 7Answers: 0
edited May 2014 in DataTables

Hi

I been working on data-tables recently moved to latest version looks fine till now .
I need to know a possible way to do this thing i am looking for .

When i select a row in datatable and click on delete button i am expecting a prompt box which will expect some text . Then i need to store that text in a variable and i need to send the variable data & Id of the row to controller to do deletion .

I am dealing with Datatable.makeeditable() which is not working in my case . any better alternative ha ? so i can pass an additional parameter to controller which is prompt text in my case ?

My code :

            $('#btnDeleteRow').click(function () {
                delreason = prompt("r u serious");   
            });
  var   oTable = $('#myDataTable'). dataTable({
                    "bProcessing": true,
                    "bServerSide": true,
                    "bAutoWidth": true,
                    "bDestroy": true,
                    "sAjaxSource": "AjaxHandler",
                  
                    "bJQueryUI": true,
                    "sPaginationType": "full_numbers",
                    "aoColumns": [
                              {
                                  "sName": "Lead_Id"
                                                ,
                                  "bVisible": false,
                                  "bSearchable": false,
                                  "bSortable": false
        
                              },
                              {
                                  "sName": "LeadName"
                              },
                               { "sName": "ContactName", "sClass": "hidden-xs" },
                               { "sName": "CompanyName" },
                               { "sName": "Product" }
                             
                    ]
        
                });
        
        
                    oTable.makeEditable({
        
                        "sDeleteURL": "/Lead/DeleteData",
                        "aoColumns":
                        [
                            null,
                            null,
                            null,
                            null
                        ]
                    });

regards

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 54,182Questions: 1Answers: 8,456 Site admin
    Answer ✓

    The makeEditable plug-in is 3rd party software and not supported in this forum. You can ask in their issues list, but as far as I am aware it is no longer supported.

    Editor is the "official" editing plugin for DataTables.

    Allan

  • sunildonsunildon Posts: 40Questions: 7Answers: 0

    ok cool . will check that and i'm equally excited

This discussion has been closed.