Dont want delete button but want Add button

Dont want delete button but want Add button

regsurajregsuraj Posts: 2Questions: 0Answers: 0
edited November 2011 in General
Hi,

Thank you for creating the DataTables js. It's a lifesaver.

I have successfully got most of what I want from my datatable. Now I want to show only the Add button in the editable datatable and not the delete button.

I have tried deleting the sDeleteURL line as well as only providing the ADD button in the html code.
But, the delete button always remains.

Anyone has any solution for this problem?

Replies

  • regsurajregsuraj Posts: 2Questions: 0Answers: 0
    FYI:
    I am using the method as described in this link:
    http://code.google.com/p/jquery-datatables-editable/wiki/HTMLSource
  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    If I recall correctly for that particular plug-in, you just remove the button that you don't want from the HTML (since you need to provide the button's HTML - the plug-in doesn't inject it - I think! I'm not the author of that plug-in). Perhaps you can provide a link to your example if that doesn't help.

    Allan
This discussion has been closed.