ColReorder/Type
ColReorder/Type
Hello,
I am having a problem with the order of the columns and data type, I have a table with several columns of numbers are arranged without problems, but if I wrap that data into a link order and is not numeric , is based on strings, 1,2,11,24 to 1,11,2,24, im test to:
"aoColumns": [ null,
{ "sType": 'numeric' },
{ "sType": 'numeric' },
but ... don´t work,
You know a possible solution?
thanks.
Óscar.
I am having a problem with the order of the columns and data type, I have a table with several columns of numbers are arranged without problems, but if I wrap that data into a link order and is not numeric , is based on strings, 1,2,11,24 to 1,11,2,24, im test to:
"aoColumns": [ null,
{ "sType": 'numeric' },
{ "sType": 'numeric' },
but ... don´t work,
You know a possible solution?
thanks.
Óscar.
This discussion has been closed.
Replies
You probably want to copy one of the dom examples (bottom of page) or the "hidden title" examples (middle of page) and rewrite them a little to extract the innerText of your link and then convert sort numerically.