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

ramsmartnetramsmartnet Posts: 6Questions: 0Answers: 0

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 ] },

]

});

Replies

  • tangerinetangerine Posts: 3,054Questions: 24Answers: 357

    This is the third time you asked the same question.

    Allan already replied:

    how would you expect an image sort to occur? On the url? A test case would be useful.

This discussion has been closed.