Hi Tobias,
Thank you that works great.
However, I am also testing the other Custom Commands I came across here, and the following breaks it, so maybe I am doing something wrong:
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 2, 3 ] } ], "bAutoWidth": false, "aoColumnDefs": [ { "sType": "currency_sorting", "aTargets": [ "column-7" ] } ], "aoColumnDefs": [ { "sType": "html", "aTargets": [ 1 ] } ]
However, the following (shorter line) works:
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 2, 3 ] } ], "bAutoWidth": false,
Mind you, at this minute, I am only experimenting, just trying things out, even if I don’t end up using the Custom Commands above, it’s always good to know about it.
I might sell recipes or articles and what not… will see ?? The sky is the limit.
The other question if you don’t mind, say I am doing a table with recipes, 125 grams comes before 2 grams in the sorting, is there an easy way to change this?
Thank you again