Problem with sorting images
Problem with sorting images
Hello,
I have a problem with sorting my tables. In my table, I have a picture which gives the state with a code looking like this
[code] if (strlen ( $stateDAO->getStateBySupportID ( $aRow ['support_id'] ) ) == '0') {
$state = "closed";
} else {
$state = $stateDAO->getStateBySupportID ( $aRow ['support_id'] );
}
..
..
..
function fnColumnToField($i) {
if ($i == 0)
return "";
..
..
}
[/code]
I want to sort my table after the state, but if i want to to id like this, it stucks at processing...
I already tried to give an sType with html but that didnt worked..
can anybody help my and tell me how i can sort after the variable $state or sth like this?
ps: can i save the chosen sortingcombinations into a database that they will be loaded on the next pageaccess for the user??
I have a problem with sorting my tables. In my table, I have a picture which gives the state with a code looking like this
[code] if (strlen ( $stateDAO->getStateBySupportID ( $aRow ['support_id'] ) ) == '0') {
$state = "closed";
} else {
$state = $stateDAO->getStateBySupportID ( $aRow ['support_id'] );
}
..
..
..
function fnColumnToField($i) {
if ($i == 0)
return "";
..
..
}
[/code]
I want to sort my table after the state, but if i want to to id like this, it stucks at processing...
I already tried to give an sType with html but that didnt worked..
can anybody help my and tell me how i can sort after the variable $state or sth like this?
ps: can i save the chosen sortingcombinations into a database that they will be loaded on the next pageaccess for the user??
This discussion has been closed.
Replies