treat data as number for order pusrpose
-
Hi,
I have tables created with the help of this plugin/tutorial. However I cannot make them to treate numeric data as numeric data. So when I order the column with IDs, it is orderd like 1,10,11,12,2,3,4,5,6…data is pulled from database, ID is int. I even tried to add 0 during query, add 0 during feeding the table, tried +1-1 on both occasion as well, but those are still treated as string.
Do anybody have any idea how to fix it? ?? thanks
https://www.ads-software.com/plugins/custom-list-table-example/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘treat data as number for order pusrpose’ is closed to new replies.