sorting applied on a column which is having date with some icon on datatables
sorting applied on a column which is having date with some icon on datatables
ramsmartnet
Posts: 6Questions: 0Answers: 0
in DataTables
usecase:
here in row template, i am displaying "checkIOStatus" along with some "ICON".
in controller, i applied sorting on that column. but sorting is not working...
templates:
ListTemplate.html
Current Status
RowTemplate.html
{{{checkIOStatus}}}
Controller:
var dataTable = $('#ListTable').dataTable({
"sPaginationType": "full_numbers"
,"aaSorting": [[ 7, "desc" ]]
,"aoColumnDefs": [
{'bSortable': false, 'aTargets': [0,9]} ,
{ "sSortDataType": "dom-text", "aTargets": [ 7 ] },
]
});
This discussion has been closed.
Replies
This is the third time you asked the same question.
Allan already replied: