Can We make edit-inline in datatables V1.1?

Can We make edit-inline in datatables V1.1?

tranloitranloi Posts: 12Questions: 3Answers: 0

Hi all,
Can We make edit-inline in datatables V1.1?Like this https://editor.datatables.net/examples/inline-editing/simple.

Thanks,
Loi

Answers

  • rhinorhino Posts: 80Questions: 2Answers: 17
    edited July 2014

    Here's a function (working demo) that will do a simple version of inline editing on a standard datatable, if you don't feel like bring in DT Editor:

  • tranloitranloi Posts: 12Questions: 3Answers: 0
    edited July 2014

    Thanks rhino.It works.How can we call ajax when on blur or lost focus in cell ?

    Thanks

  • tranloitranloi Posts: 12Questions: 3Answers: 0

    Got the error : tableApi.cell is not a function.And can not edit value of cell.Thanks

  • rhinorhino Posts: 80Questions: 2Answers: 17

    You got that error in my demo, or when trying to integrate it into your project?

  • tranloitranloi Posts: 12Questions: 3Answers: 0

    Yes.I got the error when I trying to integrate into my project.

  • rhinorhino Posts: 80Questions: 2Answers: 17

    Did you put this line in your code?

    table.inlineEdit = inlineEdit;
    
This discussion has been closed.