How sort a column after fnRender func ?
How sort a column after fnRender func ?
paky
Posts: 106Questions: 0Answers: 0
Hi my server-side table it's all ok, only one problem sort feature, only on my first coumn sort works, on other move the rows but with no sense sort order !!!
How can I solve it ?
thanks ;)
How can I solve it ?
thanks ;)
This discussion has been closed.
Replies
After debug table, in "Full column detail" I read this:
[code]
{
"aDataSort": [3],
"asSorting": ["asc", "desc"],
"bSearchable": true,
"bSortable": true,
"bUseRendered": true,
"bVisible": true,
"_bAutoType": true,
"fnCreatedCell": null,
"fnGetData": "function (b) {
return b[a];
}",
"fnRender": "function (o, val) {
return getFisioterapista(o.aData[8], o.aData[9]);
}",
"fnSetData": "function (b, d) {
b[a] = d;
}",
"mDataProp": 3,
"nTh": "
TDR
",
"nTf": null,
"sClass": "",
"sContentPadding": "",
"sDefaultContent": null,
"sName": "",
"sSortDataType": "std",
"sSortingClass": "sorting",
"sSortingClassJUI": "",
"sTitle": "
TDR
",
"sType": "html",
"sWidth": "120px",
"sWidthOrig": "120px",
"iDataSort": -1,
"sCellType": "td",
"aTargets": [3]
}
[/code]
Allan