Problem with input text field in column and sort

Problem with input text field in column and sort

LoloLolo Posts: 42Questions: 7Answers: 1

Hello,

I have a datatable with an input text in a column. When I change a value in this input text and validate it with the enter key I would like to refresh the datatable in order to make the sort works.

You can find an example here: https://jsfiddle.net/fj7kkrb7/1/

I don't know how to refresh DataTable "internal" object with the new value.

I would really appreciate if someone can complete it.

For information, I use Datatables v1.10.16

Thanks in advance and have a nice day.

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi Lolo.

    Please take a look at this live example here - @kthorngren wrote it for this thread, so all the discussion and explanation can be found there.

    Cheers,

    Colin

  • LoloLolo Posts: 42Questions: 7Answers: 1

    Hi @colin,

    Thanks a lot for your answer, I finally managed to make my example work with your example!

    You are my hero.

This discussion has been closed.