Hi guys... short question..
i get my query this way
but in the table its ordered by userid.. but i want it raw out of my query into table but must be sortable by clicking on thead..
i don't don't wont to create for every table a new jquery (i have many tables with different order functions)
this is my table-code:
with this code i recieve the sorting-methode from my query.. but i can't click sort on thead:
is there a way to do this?
i get my query this way
$query = "SELECT userid,username,fullname FROM user ORDER BY username ASC";
but in the table its ordered by userid.. but i want it raw out of my query into table but must be sortable by clicking on thead..
i don't don't wont to create for every table a new jquery (i have many tables with different order functions)
this is my table-code:
$('#normal-table').dataTable( { "bJQueryUI": true, "bPaginate": false });
with this code i recieve the sorting-methode from my query.. but i can't click sort on thead:
$('#normal-table').dataTable( { "bJQueryUI": true, "bPaginate": false, "bSort": false, });
is there a way to do this?