data table search

data table search

djosephdjoseph Posts: 1Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
I have a list of bigint values and I am displaying them in IP format
eg: {167772160} will be displayed as 10.0.0.0 in the table.
But if I search for something like 10.0.0.0 , no search results are displayed.

This is my code where intToIP is the js function which converts int to IP format.

"aoColumns": [
{
"mData": "networkAddress",
"mRender": function(data, type, row) {

return intToIP(data);
},

},



My understanding is used to manipulate data for display (including filtering, sorting etc)
In this case ,Should something else added so that the sorting works.

Thanks

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Agreed - that should work just fine. Please link to a test case showing the issue so we can debug it: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
This discussion has been closed.