DOM ordering issue for text inputs

DOM ordering issue for text inputs

ahcahc Posts: 5Questions: 3Answers: 0

Hello,

I am having an issue with ordering of the datatable columns when there are elements inside.

The example given at http://datatables.net/examples/plug-ins/dom_sort.html does not seem to work for ordering the "Position" column, and similarly, when trying it on my own I cannot get text inputs to sort. I can see that the function passed to map() does in fact return the proper values of the text inputs, and I can get other elements to sort (such as select menus) by following the same example provided.

I was curious as to why this was the case and if there was a fix so that text input columns could be properly ordered as well. Would anyone be able to shed some light on what these 'dom-text' and 'dom-select' functions are doing and why it seems to be failing for text inputs?

Thank you for your time and help!

This discussion has been closed.